forked from rosebudai/OpenRCT2-Web
Refactor to use push_back more efficient (#13726)
This commit is contained in:
1 parent
d53a94861d
commit
b0a8ebc808
37 files changed
+71
-88
No files matched your search
@@ -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