debug: reduce constexpr tomfoolery where not required
don't use compiler fooling tricks where it's not required
This commit is contained in:
parent
0b85632c97
commit
7d277bb8ff
@ -101,7 +101,5 @@ constexpr
|
|||||||
void
|
void
|
||||||
panic [[noreturn]] (const char (&fmt)[N], const Args& ...args)
|
panic [[noreturn]] (const char (&fmt)[N], const Args& ...args)
|
||||||
{
|
{
|
||||||
! fmt
|
util::debug::detail::panic (fmt, args...);
|
||||||
? panic ("unreachable constexpr panic helper")
|
|
||||||
: util::debug::detail::panic (fmt, args...);
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user