mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 20:27:43 +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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user