Fix modernize-use-emplace

This commit is contained in:
Robert Müller 2023-12-14 21:22:45 +01:00
parent aacd37b412
commit bab382f4cc

View file

@ -48,7 +48,7 @@ CEditorBrushDrawAction::CEditorBrushDrawAction(CEditor *pEditor, int Group) :
if(!pLayerTiles->m_TilesHistory.empty())
{
m_vTileChanges.emplace_back(std::make_pair(k, std::map(pLayerTiles->m_TilesHistory)));
m_vTileChanges.emplace_back(k, std::map(pLayerTiles->m_TilesHistory));
pLayerTiles->ClearHistory();
}
}