From 01e6f01076f8fcaddc8bd52fd8a3355ac37844e3 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 28 Jan 2026 15:46:21 -0800 Subject: [PATCH] Remove old assert_fail --- include/fmt/base.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/fmt/base.h b/include/fmt/base.h index 58a1689f..f717ae35 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -380,10 +380,7 @@ template 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.