diff --git a/Source/Core/Common/Src/FifoQueue.h b/Source/Core/Common/Src/FifoQueue.h index f5713c85f9..60e23bf0ee 100644 --- a/Source/Core/Common/Src/FifoQueue.h +++ b/Source/Core/Common/Src/FifoQueue.h @@ -46,7 +46,7 @@ public: void Push(Arg&& t) { // create the element, add it to the queue - m_write_ptr->current = std::move(t); + m_write_ptr->current = std::forward(t); // set the next pointer to a new element ptr // then advance the write pointer ElementPtr* new_ptr = new ElementPtr();