Some emplace_back replacements (#5149)
* replace push_back with emplace_back when a new object was created in the function call
This commit is contained in:
@@ -196,7 +196,7 @@ bool cNetherPortalScanner::OnAllChunksAvailable(void)
|
||||
Vector3i Location = Vector3i(x, y, z);
|
||||
if (IsValidBuildLocation(Location))
|
||||
{
|
||||
Possibilities.push_back(Vector3i(x, y, z));
|
||||
Possibilities.emplace_back(x, y, z);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user