From 329382c1dafe0217eab84acf7f0ffd25898552b9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 13 Oct 2020 17:25:53 +0200 Subject: [PATCH] event/SignalMonitor: add `noexcept` --- src/event/SignalMonitor.hxx | 2 +- test/ShutdownHandler.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/event/SignalMonitor.hxx b/src/event/SignalMonitor.hxx index 26ddf3c67..ce05b1caa 100644 --- a/src/event/SignalMonitor.hxx +++ b/src/event/SignalMonitor.hxx @@ -26,7 +26,7 @@ class EventLoop; #include "util/BindMethod.hxx" -typedef BoundMethod SignalHandler; +typedef BoundMethod SignalHandler; /** * Initialise the signal monitor subsystem. diff --git a/test/ShutdownHandler.cxx b/test/ShutdownHandler.cxx index 6c801aaa4..a14f48234 100644 --- a/test/ShutdownHandler.cxx +++ b/test/ShutdownHandler.cxx @@ -26,7 +26,7 @@ #include static void -HandleShutdownSignal(void *ctx) +HandleShutdownSignal(void *ctx) noexcept { auto &loop = *(EventLoop *)ctx; loop.Break();