fixed compiler warning

This commit is contained in:
Christoph Oelckers 2018-06-12 10:59:17 +02:00
parent 3385e28611
commit 5a20de829b

View file

@ -221,5 +221,5 @@ void GroupMemoryBarrierCommand::Execute(DrawerThread *thread)
std::unique_lock<std::mutex> lock(mutex); std::unique_lock<std::mutex> lock(mutex);
count++; count++;
condition.notify_all(); condition.notify_all();
condition.wait(lock, [&]() { return count >= thread->num_cores; }); condition.wait(lock, [&]() { return count >= (size_t)thread->num_cores; });
} }