We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca3226e commit a78137cCopy full SHA for a78137c
include/mp/proxy-io.h
@@ -172,7 +172,7 @@ class EventLoop
172
void addClient(std::unique_lock<std::mutex>& lock);
173
bool removeClient(std::unique_lock<std::mutex>& lock);
174
//! Check if loop should exit.
175
- bool done(std::unique_lock<std::mutex>& lock);
+ bool done(std::unique_lock<std::mutex>& lock) const;
176
177
Logger log()
178
{
src/mp/proxy.cpp
@@ -277,7 +277,7 @@ void EventLoop::startAsyncThread(std::unique_lock<std::mutex>& lock)
277
}
278
279
280
-bool EventLoop::done(std::unique_lock<std::mutex>& lock)
+bool EventLoop::done(std::unique_lock<std::mutex>& lock) const
281
282
assert(m_num_clients >= 0);
283
assert(lock.owns_lock());
0 commit comments