From 593d82c6a9c4925021e23eeff8a6e6e62fa2b00a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 10 Nov 2017 20:55:24 +0100 Subject: [PATCH] event/DeferEvent: add "noexcept" --- src/event/DeferEvent.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } };