diff --git a/AVSCommon/Utils/src/WorkerThread.cpp b/AVSCommon/Utils/src/WorkerThread.cpp index 349f8c5dfe..33ad37fc45 100644 --- a/AVSCommon/Utils/src/WorkerThread.cpp +++ b/AVSCommon/Utils/src/WorkerThread.cpp @@ -53,7 +53,7 @@ std::thread::id WorkerThread::getThreadId() const { 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..777ff1630b 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( @@ -65,4 +65,4 @@ void AuthRefreshedObserver::onAuthStateChange(State newState, Error error) { break; } m_state = newState; -}; \ No newline at end of file +};