diff options
author | Max Kellermann <max@musicpd.org> | 2017-11-10 20:55:24 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-11-10 20:55:24 +0100 |
commit | 593d82c6a9c4925021e23eeff8a6e6e62fa2b00a (patch) | |
tree | a8cc740a6fae6a3655165228e5c7a3a603b63d27 /src/event | |
parent | 43dccbd45d4139ab27b6899a56c2a7f99e0da547 (diff) |
event/DeferEvent: add "noexcept"
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/DeferEvent.hxx | 4 |
1 files 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<void()> Callback; + typedef BoundMethod<void() noexcept> Callback; const Callback callback; public: @@ -42,7 +42,7 @@ public: using DeferredMonitor::Cancel; private: - void RunDeferred() override { + void RunDeferred() noexcept override { callback(); } }; |