Unverified Commit cff9db50 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update log_msg_buffer-inl.h

parent 216f9056
...@@ -36,7 +36,7 @@ namespace details { ...@@ -36,7 +36,7 @@ namespace details {
SPDLOG_INLINE log_msg_buffer &log_msg_buffer::operator=(const log_msg_buffer &other) SPDLOG_INLINE log_msg_buffer &log_msg_buffer::operator=(const log_msg_buffer &other)
{ {
log_msg::operator=(other); log_msg::operator=(other);
buffe.clear(); buffer.clear();
buffer.append(other.buffer.data(), other.buffer.data() + other.buffer.size()); buffer.append(other.buffer.data(), other.buffer.data() + other.buffer.size());
update_string_views(); update_string_views();
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