From e57ae30791dbe20dadfea80be7925e71228b5356 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 22 Apr 2020 01:13:19 -0700 Subject: [PATCH] ircd::logger: Remove noreturn attribute. --- include/ircd/logger.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/ircd/logger.h b/include/ircd/logger.h index bff6bdaf6..e4ffeb742 100644 --- a/include/ircd/logger.h +++ b/include/ircd/logger.h @@ -459,9 +459,6 @@ struct ircd::log::error struct ircd::log::critical { template - #if !defined(RB_ASSERT) - [[noreturn]] - #endif critical(const log &log, const string_view &fmt, args&&... a) { vlog(log, level::CRITICAL, fmt, va_rtti{std::forward(a)...}); @@ -473,9 +470,6 @@ struct ircd::log::critical } template - #if !defined(RB_ASSERT) - [[noreturn]] - #endif critical(const string_view &fmt, args&&... a) { vlog(general, level::CRITICAL, fmt, va_rtti{std::forward(a)...});