mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 00:42:45 +01:00
Codechange: Use emplace_back instead of push_back. (#13855)
This commit is contained in:
@@ -605,7 +605,7 @@ static CommandCost ClearTile_Object(TileIndex tile, DoCommandFlags flags)
|
||||
break;
|
||||
}
|
||||
|
||||
_cleared_object_areas.push_back({tile, ta});
|
||||
_cleared_object_areas.emplace_back(tile, ta);
|
||||
|
||||
if (flags.Test(DoCommandFlag::Execute)) ReallyClearObjectTile(o);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user