From c8a6fd917717e47c8be25beaf0fd0aebe99adcff Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 5 Mar 2026 16:52:21 -0800 Subject: [PATCH] Minor cleanup --- include/fmt/base.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/fmt/base.h b/include/fmt/base.h index 72942615..70f18c23 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -1809,8 +1809,7 @@ template class buffer { /// Appends data to the end of the buffer. template FMT_CONSTEXPR20 void append(const U* begin, const U* end) { - static_assert(std::is_same::value || std::is_same::value, - "U must be T or char to prevent static_cast overflow"); + static_assert(std::is_same() || std::is_same(), ""); while (begin != end) { auto size = size_; auto free_cap = capacity_ - size;