mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Refactor to use push_back more efficient (#13726)
This commit is contained in:
@@ -271,7 +271,7 @@ public:
|
||||
auto td = _fileIndex.Create(language, newPath);
|
||||
if (std::get<0>(td))
|
||||
{
|
||||
_items.push_back(std::get<1>(td));
|
||||
_items.push_back(std::move(std::get<1>(td)));
|
||||
SortItems();
|
||||
result = path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user