diff --git a/DataSpec/SpecBase.cpp b/DataSpec/SpecBase.cpp index 99c262349..a9e762be6 100644 --- a/DataSpec/SpecBase.cpp +++ b/DataSpec/SpecBase.cpp @@ -1194,7 +1194,7 @@ void SpecBase::beginBackgroundIndex() { cancelBackgroundIndex(); clearTagCache(); m_backgroundRunning = true; - m_backgroundIndexTh = std::thread(std::bind(&SpecBase::backgroundIndexProc, this)); + m_backgroundIndexTh = std::thread(&SpecBase::backgroundIndexProc, this); } void SpecBase::waitForIndexComplete() const {