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:
@@ -116,7 +116,7 @@ void JobPool::ProcessQueue()
|
||||
|
||||
lock.lock();
|
||||
|
||||
_completed.push_back(taskData);
|
||||
_completed.push_back(std::move(taskData));
|
||||
|
||||
_processing--;
|
||||
_condComplete.notify_one();
|
||||
|
||||
Reference in New Issue
Block a user