mirror of
https://github.com/fmtlib/fmt.git
synced 2026-02-05 17:30:06 +08:00
Remove old assert_fail
This commit is contained in:
parent
8eec491424
commit
01e6f01076
@ -380,10 +380,7 @@ template <typename T> FMT_ALWAYS_INLINE constexpr auto const_check(T val) -> T {
|
||||
return val;
|
||||
}
|
||||
|
||||
FMT_NORETURN FMT_API void assert_fail(const char* file, int line,
|
||||
const char* message);
|
||||
|
||||
#if defined(FMT_ASSERT)
|
||||
#ifdef FMT_ASSERT
|
||||
// Use the provided definition.
|
||||
#elif defined(NDEBUG)
|
||||
// FMT_ASSERT is not empty to avoid -Wempty-body.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user