diff --git a/src/event/DeferEvent.hxx b/src/event/DeferEvent.hxx index f9d888db6..dbd91090d 100644 --- a/src/event/DeferEvent.hxx +++ b/src/event/DeferEvent.hxx @@ -30,7 +30,7 @@ * This class is thread-safe. */ class DeferEvent final : DeferredMonitor { - typedef BoundMethod Callback; + typedef BoundMethod Callback; const Callback callback; public: @@ -42,7 +42,7 @@ public: using DeferredMonitor::Cancel; private: - void RunDeferred() override { + void RunDeferred() noexcept override { callback(); } };