fix warnings and build

This commit is contained in:
gabime
2019-09-05 01:12:27 +03:00
parent 28845b96bd
commit 433785dc64
3 changed files with 4 additions and 4 deletions

View File

@@ -47,10 +47,10 @@ public:
update_string_views();
}
log_msg_buffer &operator=(log_msg_buffer &other)
log_msg_buffer &operator=(const log_msg_buffer &other)
{
log_msg::operator=(other);
buffer.append(other.buffer.begin(), other.buffer.end());
buffer.append(other.buffer.data(), other.buffer.data() + other.buffer.size());
update_string_views();
return *this;
}