2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-06-03 17:21:19 +00:00

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

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 {