Fixed operator= in async_log_msg.cpp

This commit is contained in:
gabime 2024-12-07 18:29:45 +02:00
parent e75b11c00f
commit 28c0db1f5a

View File

@ -43,7 +43,7 @@ async_log_msg &async_log_msg::operator=(const async_log_msg &other) {
}
async_log_msg &async_log_msg::operator=(async_log_msg &&other) noexcept {
log_msg::operator=(other);
log_msg::operator=(std::forward<async_log_msg&&>(other));
msg_type_ = other.msg_type_;
buffer_ = std::move(other.buffer_);
update_string_views();