mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix modernize-use-emplace
This commit is contained in:
parent
aacd37b412
commit
bab382f4cc
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue