diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-03-10 20:44:06 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-03-10 20:44:06 -0700 |
commit | f81d7cc0184b1586270ecf41386d98942df3cf99 (patch) | |
tree | 8d3e5a7d5880d02c6af2fdaa8f97e23035ad66e7 /tests/writer_string.cpp | |
parent | e5ecbd63ce75de0a8f1473cbe0c1f9eea657dd02 (diff) | |
parent | 604861e520d2d6579674a1c2bd5e59cb10f7ecd2 (diff) |
Merge branch 'master' into compact
Diffstat (limited to 'tests/writer_string.cpp')
-rw-r--r-- | tests/writer_string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/writer_string.cpp b/tests/writer_string.cpp index a09678b..661c792 100644 --- a/tests/writer_string.cpp +++ b/tests/writer_string.cpp @@ -15,7 +15,7 @@ static bool test_narrow(const std::string& result, const char* expected, size_t void xml_writer_string::write(const void* data, size_t size) { - contents += std::string(static_cast<const char*>(data), size); + contents.append(static_cast<const char*>(data), size); } std::string xml_writer_string::as_narrow() const |