diff --git a/src/event/Loop.cxx b/src/event/Loop.cxx index e59d6dfa9..806e0e71a 100644 --- a/src/event/Loop.cxx +++ b/src/event/Loop.cxx @@ -242,7 +242,7 @@ duration_cast_round_up(std::chrono::duration d) noexcept * value (= never times out) is translated to the magic value -1. */ static constexpr int -ExportTimeoutMS(Event::Duration timeout) +ExportTimeoutMS(Event::Duration timeout) noexcept { return timeout >= timeout.zero() ? int(duration_cast_round_up(timeout).count())