summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-07-29 01:47:39 +0200
committerLiam <byteslice@airmail.cc>2022-07-29 21:41:57 +0200
commitec64a94954535b8be4a045150cffb4dc3afb427a (patch)
tree72e891570b03a65d9afdd73ef2f3ee7e75428ba1 /src
parentRevert Coretiming PRs 8531 and 7454 (#8591) (diff)
downloadyuzu-ec64a94954535b8be4a045150cffb4dc3afb427a.tar
yuzu-ec64a94954535b8be4a045150cffb4dc3afb427a.tar.gz
yuzu-ec64a94954535b8be4a045150cffb4dc3afb427a.tar.bz2
yuzu-ec64a94954535b8be4a045150cffb4dc3afb427a.tar.lz
yuzu-ec64a94954535b8be4a045150cffb4dc3afb427a.tar.xz
yuzu-ec64a94954535b8be4a045150cffb4dc3afb427a.tar.zst
yuzu-ec64a94954535b8be4a045150cffb4dc3afb427a.zip
Diffstat (limited to 'src')
-rw-r--r--src/common/threadsafe_queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/threadsafe_queue.h b/src/common/threadsafe_queue.h
index f7ae9d8c2..053798e79 100644
--- a/src/common/threadsafe_queue.h
+++ b/src/common/threadsafe_queue.h
@@ -39,7 +39,7 @@ public:
template <typename Arg>
void Push(Arg&& t) {
// create the element, add it to the queue
- write_ptr->current = std::forward<Arg>(t);
+ write_ptr->current = std::move(t);
// set the next pointer to a new element ptr
// then advance the write pointer
ElementPtr* new_ptr = new ElementPtr();