diff --git a/.gitignore b/.gitignore index 2635026a69db..7485ad924f9c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ *.xcodeproj *~ .vscode/ +.cache/ /CMakeScripts /Testing /_CPack_Packages 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;