From 73f8bec8023dc4e72afa03d194eae840fd9e4030 Mon Sep 17 00:00:00 2001 From: LocalSpook Date: Sun, 26 Jan 2025 18:58:11 -0800 Subject: [PATCH] Fix typo in `FMT_HAS_BUILTIN` check --- include/fmt/base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/base.h b/include/fmt/base.h index 9eeeb2ce7c53..551a6b86ff56 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -537,7 +537,7 @@ template class basic_string_view { FMT_ALWAYS_INLINE #endif FMT_CONSTEXPR20 basic_string_view(const Char* s) : data_(s) { -#if FMT_HAS_BUILTIN(__buitin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION +#if FMT_HAS_BUILTIN(__builtin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION if (std::is_same::value) { size_ = __builtin_strlen(detail::narrow(s)); return;