mirror of
https://github.com/fmtlib/fmt.git
synced 2025-08-03 12:44:49 +02:00
Fix MSVC build.
This commit is contained in:
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user