Timer::TimerThreadProc(): use C++11 lambda instead of bind()

refs #6737

(cherry picked from commit 7a8f8fd734)
This commit is contained in:
Alexander A. Klimov 2019-03-11 11:17:26 +01:00 committed by Michael Friedrich
parent f551666a7d
commit 98d674f780
1 changed files with 1 additions and 1 deletions

View File

@ -327,6 +327,6 @@ void Timer::TimerThreadProc()
lock.unlock();
/* Asynchronously call the timer. */
Utility::QueueAsyncCallback(std::bind(&Timer::Call, timer));
Utility::QueueAsyncCallback([timer]() { timer->Call(); });
}
}