general: fix compile for Apple Clang

This commit is contained in:
Liam committed 2022-11-22 22:22:28 -05:00
1 parent aab68674c0
commit 9737615948
79 files changed
+952 -37

No files matched your search

+1 -1
View File
@@ -125,7 +125,7 @@ u64 ThreadManager::PushCommand(CommandData&& command_data, bool block) {
state.queue.Push(CommandDataContainer(std::move(command_data), fence, block));
if (block) {
state.cv.wait(lk, thread.get_stop_token(), [this, fence] {
Common::CondvarWait(state.cv, lk, thread.get_stop_token(), [this, fence] {
return fence <= state.signaled_fence.load(std::memory_order_relaxed);
});
}