Commit e3c616d3 authored by Dominik Charousset's avatar Dominik Charousset

Add missing return

parent 1be3c672
...@@ -612,7 +612,7 @@ public: ...@@ -612,7 +612,7 @@ public:
/// @returns The total number of events, i.e., messages consumed and /// @returns The total number of events, i.e., messages consumed and
/// timeouts triggerd. /// timeouts triggerd.
size_t run() { size_t run() {
run_until([] { return false; }); return run_until([] { return false; });
} }
/// Consume messages and trigger timeouts until `pred` becomes `true` or /// Consume messages and trigger timeouts until `pred` becomes `true` or
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment