general: fix compile for Apple Clang

This commit is contained in:
Liam
2022-11-21 11:31:18 -05:00
parent aab68674c0
commit 9737615948
79 changed files with 952 additions and 37 deletions

View File

@ -116,7 +116,7 @@ void EmuThread::run() {
}
} else {
std::unique_lock lock{running_mutex};
running_cv.wait(lock, stop_token, [this] { return IsRunning(); });
Common::CondvarWait(running_cv, lock, stop_token, [&] { return IsRunning(); });
}
}