Skip to content

Commit c9267da

Browse files
LocalSpookvitaut
authored andcommitted
Fix typo in FMT_HAS_BUILTIN check
1 parent 373855c commit c9267da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fmt/base.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ template <typename Char> class basic_string_view {
537537
FMT_ALWAYS_INLINE
538538
#endif
539539
FMT_CONSTEXPR20 basic_string_view(const Char* s) : data_(s) {
540-
#if FMT_HAS_BUILTIN(__buitin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION
540+
#if FMT_HAS_BUILTIN(__builtin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION
541541
if (std::is_same<Char, char>::value) {
542542
size_ = __builtin_strlen(detail::narrow(s));
543543
return;

0 commit comments

Comments
 (0)