summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-10-13 17:25:53 +0200
committerMax Kellermann <max@musicpd.org>2020-10-13 17:26:33 +0200
commit329382c1dafe0217eab84acf7f0ffd25898552b9 (patch)
tree291c2b97936cee5f786802631f18c0e99b931650 /test
parentfadc03df214b3015087ddb625382746c9ac7eb9e (diff)
event/SignalMonitor: add `noexcept`
Diffstat (limited to 'test')
-rw-r--r--test/ShutdownHandler.cxx2
1 files changed, 1 insertions, 1 deletions
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 <signal.h>
static void
-HandleShutdownSignal(void *ctx)
+HandleShutdownSignal(void *ctx) noexcept
{
auto &loop = *(EventLoop *)ctx;
loop.Break();