Run clang-format
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
std::condition_variable cond;
|
||||
bool data_ready;
|
||||
std::mutex m;
|
||||
void wait_for_data()
|
||||
void
|
||||
wait_for_data()
|
||||
{
|
||||
std::unique_lock<std::mutex> lk(m);
|
||||
cond.wait(lk,[]{return data_ready;});
|
||||
std::unique_lock<std::mutex> lk(m);
|
||||
cond.wait(lk, [] { return data_ready; });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user