SpecBase: Remove redundant std::bind

std::thread can already execute the supplied function as is without the
assistance of std::bind.
This commit is contained in:
Lioncash 2020-02-28 01:25:12 -05:00
parent 08604d770a
commit be4252127b
1 changed files with 1 additions and 1 deletions

View File

@ -1201,7 +1201,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 {