0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

ircd::fpe: Use std noreturn here.

This commit is contained in:
Jason Volk 2018-12-21 17:19:16 -08:00
parent 5e196ce0ac
commit 29d6d819ca

View file

@ -35,7 +35,6 @@ namespace ircd::fpe
extern "C" void ircd_fpe_handle_sigfpe(int signum, siginfo_t *const si, void *const uctx); extern "C" void ircd_fpe_handle_sigfpe(int signum, siginfo_t *const si, void *const uctx);
} }
[[noreturn]] void [[noreturn]] void
ircd::fpe::ircd_fpe_handle_sigfpe(int signum, ircd::fpe::ircd_fpe_handle_sigfpe(int signum,
siginfo_t *const si, siginfo_t *const si,
@ -96,7 +95,7 @@ noexcept
// errors_throw::errors_throw // errors_throw::errors_throw
// //
__attribute__((noreturn)) [[noreturn]]
ircd::fpe::errors_throw::errors_throw() ircd::fpe::errors_throw::errors_throw()
{ {
throw assertive throw assertive
@ -105,6 +104,7 @@ ircd::fpe::errors_throw::errors_throw()
}; };
} }
[[noreturn]]
ircd::fpe::errors_throw::~errors_throw() ircd::fpe::errors_throw::~errors_throw()
noexcept noexcept
{ {