event/SignalMonitor: add noexcept
This commit is contained in:
parent
fadc03df21
commit
329382c1da
@ -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 @@
|
|||||||
#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();
|
||||||
|
Loading…
Reference in New Issue
Block a user