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 ffeac06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion AVSGatewayManager/src/AuthRefreshedObserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ static const string TAG("AuthRefreshedObserver");

AuthRefreshedObserver::AuthRefreshedObserver(function<void()> afterAuthRefreshedCallback) :
m_state{State::UNINITIALIZED},
m_afterAuthRefreshedCallback{move(afterAuthRefreshedCallback)} {
m_afterAuthRefreshedCallback{std::move(afterAuthRefreshedCallback)} {
}

shared_ptr<AuthRefreshedObserver> alexaClientSDK::avsGatewayManager::AuthRefreshedObserver::create(
Expand Down

0 comments on commit ffeac06

Please sign in to comment.