From 7d277bb8ff954db5f5605334965af8632ecec5d3 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 1 Aug 2016 17:23:53 +1000 Subject: [PATCH] debug: reduce constexpr tomfoolery where not required don't use compiler fooling tricks where it's not required --- debug.ipp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/debug.ipp b/debug.ipp index 9720bbc1..64287c09 100644 --- a/debug.ipp +++ b/debug.ipp @@ -101,7 +101,5 @@ constexpr void panic [[noreturn]] (const char (&fmt)[N], const Args& ...args) { - ! fmt - ? panic ("unreachable constexpr panic helper") - : util::debug::detail::panic (fmt, args...); + util::debug::detail::panic (fmt, args...); }