Commit 329382c1 authored by Max Kellermann's avatar Max Kellermann

event/SignalMonitor: add `noexcept`

parent fadc03df
...@@ -26,7 +26,7 @@ class EventLoop; ...@@ -26,7 +26,7 @@ class EventLoop;
#include "util/BindMethod.hxx" #include "util/BindMethod.hxx"
typedef BoundMethod<void()> SignalHandler; typedef BoundMethod<void() noexcept> SignalHandler;
/** /**
* Initialise the signal monitor subsystem. * Initialise the signal monitor subsystem.
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <signal.h> #include <signal.h>
static void static void
HandleShutdownSignal(void *ctx) HandleShutdownSignal(void *ctx) noexcept
{ {
auto &loop = *(EventLoop *)ctx; auto &loop = *(EventLoop *)ctx;
loop.Break(); loop.Break();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment