debug: reduce constexpr tomfoolery where not required

don't use compiler fooling tricks where it's not required
This commit is contained in:
Danny Robson 2016-08-01 17:23:53 +10:00
parent 0b85632c97
commit 7d277bb8ff

View File

@ -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...);
}