diff --git a/AVSCommon/Utils/src/WorkerThread.cpp b/AVSCommon/Utils/src/WorkerThread.cpp index e82640b7b7..8718bd4a0e 100644 --- a/AVSCommon/Utils/src/WorkerThread.cpp +++ b/AVSCommon/Utils/src/WorkerThread.cpp @@ -56,7 +56,7 @@ void WorkerThread::cancel() { void WorkerThread::run(std::function workFunc) { std::lock_guard lock(m_mutex); m_cancel = false; - m_workerFunc = move(workFunc); + m_workerFunc = std::move(workFunc); m_workReady.notify_one(); } diff --git a/AVSGatewayManager/src/AuthRefreshedObserver.cpp b/AVSGatewayManager/src/AuthRefreshedObserver.cpp index 7136e2968e..426ef82c05 100644 --- a/AVSGatewayManager/src/AuthRefreshedObserver.cpp +++ b/AVSGatewayManager/src/AuthRefreshedObserver.cpp @@ -39,7 +39,7 @@ static const string TAG("AuthRefreshedObserver"); AuthRefreshedObserver::AuthRefreshedObserver(function afterAuthRefreshedCallback) : m_state{State::UNINITIALIZED}, - m_afterAuthRefreshedCallback{move(afterAuthRefreshedCallback)} { + m_afterAuthRefreshedCallback{std::move(afterAuthRefreshedCallback)} { } shared_ptr alexaClientSDK::avsGatewayManager::AuthRefreshedObserver::create(