ForestRocks: use make_unique to construct
This commit is contained in:
parent
d06930de75
commit
5ae924ec74
@ -466,7 +466,7 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
|
||||
}
|
||||
else if (NoCaseCompare(finisher, "ForestRocks") == 0)
|
||||
{
|
||||
m_FinishGens.push_back(cFinishGenPtr(new cFinishGenForestRocks(m_Seed, a_IniFile)));
|
||||
m_FinishGens.push_back(std::make_unique<cFinishGenForestRocks>(m_Seed, a_IniFile));
|
||||
}
|
||||
else if (NoCaseCompare(finisher, "GlowStone") == 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user