diff options
author | Max Kellermann <max@musicpd.org> | 2019-04-25 18:33:09 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-04-25 19:46:43 +0200 |
commit | b51bae5500f8c9cc37708ca5130c9ee9866a0704 (patch) | |
tree | 8980f518daedc24a3b3f548738884e59aadd0d32 /test/run_input.cxx | |
parent | 5bc8cd0ecbc06ed46335e01037412a66fd3811ae (diff) |
thread/*Cond: rename methods to match std::condition_variable
Diffstat (limited to 'test/run_input.cxx')
-rw-r--r-- | test/run_input.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/run_input.cxx b/test/run_input.cxx index e5deafda8..eb6acda49 100644 --- a/test/run_input.cxx +++ b/test/run_input.cxx @@ -190,14 +190,14 @@ public: const std::lock_guard<Mutex> lock(mutex); tag = std::move(_tag); done = true; - cond.broadcast(); + cond.notify_all(); } void OnRemoteTagError(std::exception_ptr e) noexcept override { const std::lock_guard<Mutex> lock(mutex); error = std::move(e); done = true; - cond.broadcast(); + cond.notify_all(); } }; |