mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-27 03:21:34 +00:00
Fix MSVC build.
This commit is contained in:
parent
5978412d5c
commit
6829819b8d
2
format.h
2
format.h
@ -534,7 +534,7 @@ private:
|
|||||||
|
|
||||||
BasicWriter &operator<<(const Char *value) {
|
BasicWriter &operator<<(const Char *value) {
|
||||||
std::size_t size = std::strlen(value);
|
std::size_t size = std::strlen(value);
|
||||||
std::strncpy(GrowBuffer(size), value, size);
|
std::copy(value, value + size, GrowBuffer(size));
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user