diff options
Diffstat (limited to 'src/index/base.cpp')
-rw-r--r-- | src/index/base.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/index/base.cpp b/src/index/base.cpp index 88d5fbee1d..fc25514f1a 100644 --- a/src/index/base.cpp +++ b/src/index/base.cpp @@ -349,8 +349,7 @@ void BaseIndex::Start() return; } - m_thread_sync = std::thread(&util::TraceThread, GetName(), - std::bind(&BaseIndex::ThreadSync, this)); + m_thread_sync = std::thread(&util::TraceThread, GetName(), [this] { ThreadSync(); }); } void BaseIndex::Stop() |