event/SignalMonitor: add noexcept
This commit is contained in:
parent
fadc03df21
commit
329382c1da
@ -26,7 +26,7 @@ class EventLoop;
|
||||
|
||||
#include "util/BindMethod.hxx"
|
||||
|
||||
typedef BoundMethod<void()> SignalHandler;
|
||||
typedef BoundMethod<void() noexcept> SignalHandler;
|
||||
|
||||
/**
|
||||
* Initialise the signal monitor subsystem.
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include <signal.h>
|
||||
|
||||
static void
|
||||
HandleShutdownSignal(void *ctx)
|
||||
HandleShutdownSignal(void *ctx) noexcept
|
||||
{
|
||||
auto &loop = *(EventLoop *)ctx;
|
||||
loop.Break();
|
||||
|
Loading…
Reference in New Issue
Block a user