mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-06-06 23:13:27 +00:00
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…
x
Reference in New Issue
Block a user