summaryrefslogtreecommitdiffstats
path: root/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index f2cd053..0b00ad5 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -70,7 +70,7 @@ string Connection::get_new_stream_contents()
{
_buffer_mutex.lock();
auto &buffer{get_buffer()};
- const string buffer_copy{buffer};
+ string buffer_copy{buffer};
buffer.clear();
_buffer_mutex.unlock();
return buffer_copy;