0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 00:03:45 +02:00

ircd: Fix noreturn attribute on panicking().

This commit is contained in:
Jason Volk 2020-04-23 03:14:55 -07:00
parent 87f873ad45
commit 1920deaedb

View file

@ -23,9 +23,6 @@ noexcept
}
void
#if !defined(NDEBUG) && !defined(RB_ASSERT)
__attribute__((noreturn))
#endif
ircd::panicking(const std::exception_ptr &eptr)
noexcept
{
@ -39,9 +36,6 @@ noexcept
/// log a critical message, which is actually what triggers a termination when
/// assertions are enabled (!NDEBUG) otherwise a no-op.
void
#if !defined(NDEBUG) && !defined(RB_ASSERT)
__attribute__((noreturn))
#endif
ircd::panicking(const std::exception &e)
noexcept
{