mirror of https://github.com/AxioDL/metaforce.git
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:
parent
08604d770a
commit
be4252127b
|
@ -1201,7 +1201,7 @@ void SpecBase::beginBackgroundIndex() {
|
||||||
cancelBackgroundIndex();
|
cancelBackgroundIndex();
|
||||||
clearTagCache();
|
clearTagCache();
|
||||||
m_backgroundRunning = true;
|
m_backgroundRunning = true;
|
||||||
m_backgroundIndexTh = std::thread(std::bind(&SpecBase::backgroundIndexProc, this));
|
m_backgroundIndexTh = std::thread(&SpecBase::backgroundIndexProc, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SpecBase::waitForIndexComplete() const {
|
void SpecBase::waitForIndexComplete() const {
|
||||||
|
|
Loading…
Reference in New Issue