summaryrefslogtreecommitdiff
path: root/Source/Core/Common/WorkQueueThread.h
diff options
context:
space:
mode:
authorMichael M <mchtly@gmail.com>2017-08-20 14:06:33 -0700
committerMichael M <mchtly@gmail.com>2017-08-20 14:40:56 -0700
commit8c13e0230ced0dbc2135e48e332ab79a9c4b3567 (patch)
tree6467eda3e2c6bd43a0f718c4f587e9613b02e299 /Source/Core/Common/WorkQueueThread.h
parentde9378bf6389ad22ca955df477a48bd678c10c9e (diff)
GameTracker: use WorkQueueThread
Diffstat (limited to 'Source/Core/Common/WorkQueueThread.h')
-rw-r--r--Source/Core/Common/WorkQueueThread.h2
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();
}