Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
fix compilation error: unqualified call to 'std::move'
Browse files Browse the repository at this point in the history
  • Loading branch information
akhabali committed Sep 15, 2022
1 parent 7f9b5b7 commit 59b26a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AVSCommon/Utils/src/WorkerThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void WorkerThread::cancel() {
void WorkerThread::run(std::function<bool()> workFunc) {
std::lock_guard<std::mutex> lock(m_mutex);
m_cancel = false;
m_workerFunc = move(workFunc);
m_workerFunc = std::move(workFunc);
m_workReady.notify_one();
}

Expand Down

0 comments on commit 59b26a0

Please sign in to comment.