diff options
Diffstat (limited to 'Source/Core/Common/WorkQueueThread.h')
| -rw-r--r-- | Source/Core/Common/WorkQueueThread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/WorkQueueThread.h b/Source/Core/Common/WorkQueueThread.h index 8947b099cb..426d8b493d 100644 --- a/Source/Core/Common/WorkQueueThread.h +++ b/Source/Core/Common/WorkQueueThread.h @@ -35,7 +35,7 @@ public: { { std::unique_lock<std::mutex> lg(m_lock); - m_items.emplace(std::move(args)...); + m_items.emplace(std::forward<Args>(args)...); } m_wakeup.Set(); } |
