Merge pull request #168 from lioncash/bind

SpecBase: Remove redundant std::bind
This commit is contained in:
Luke S 2020-02-28 10:35:30 -05:00 committed by GitHub
commit 1cfe88fab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {