We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
FMT_HAS_BUILTIN
1 parent 373855c commit c9267daCopy full SHA for c9267da
include/fmt/base.h
@@ -537,7 +537,7 @@ template <typename Char> class basic_string_view {
537
FMT_ALWAYS_INLINE
538
#endif
539
FMT_CONSTEXPR20 basic_string_view(const Char* s) : data_(s) {
540
-#if FMT_HAS_BUILTIN(__buitin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION
+#if FMT_HAS_BUILTIN(__builtin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION
541
if (std::is_same<Char, char>::value) {
542
size_ = __builtin_strlen(detail::narrow(s));
543
return;
0 commit comments