Skip to content

Commit 25df8cc

Browse files
committed
Fix usage of memset
1 parent a6eb4a5 commit 25df8cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fmt/format.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ FMT_CONSTEXPR20 auto fill_n(T* out, Size count, char value) -> T* {
564564
if (is_constant_evaluated()) return fill_n<T*, Size, T>(out, count, value);
565565
static_assert(sizeof(T) == 1,
566566
"sizeof(T) must be 1 to use char for initialization");
567-
std::memset(out, value, to_unsigned(count));
567+
memset(out, value, to_unsigned(count));
568568
return out + count;
569569
}
570570

0 commit comments

Comments
 (0)