diff options
-rw-r--r-- | src/utility/stream.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/utility/stream.cpp b/src/utility/stream.cpp index 4eac284a..6360de17 100644 --- a/src/utility/stream.cpp +++ b/src/utility/stream.cpp @@ -92,8 +92,7 @@ outputStreamStringAdapter::outputStreamStringAdapter(string& buffer) void outputStreamStringAdapter::write(const value_type* const data, const size_type count) { - // TODO: better way? - std::copy(data, data + count, std::back_inserter(m_buffer)); + m_buffer.append(data, count); } |