Commit 6829819b authored by Victor Zverovich's avatar Victor Zverovich

Fix MSVC build.

parent 5978412d
...@@ -534,7 +534,7 @@ private: ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment