mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-26 07:29:03 +08:00
Fixed operator= in async_log_msg.cpp
This commit is contained in:
parent
e75b11c00f
commit
28c0db1f5a
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user