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:
parent
87f873ad45
commit
1920deaedb
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue