Fix MSVC build.

This commit is contained in:
Victor Zverovich 2013-09-03 15:59:46 -07:00
parent 5978412d5c
commit 6829819b8d

View File

@ -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;
} }