From 28c0db1f5a4dc4b8f5abd3150f5db32bcb7c2693 Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 7 Dec 2024 18:29:45 +0200 Subject: [PATCH] Fixed operator= in async_log_msg.cpp --- src/details/async_log_msg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/details/async_log_msg.cpp b/src/details/async_log_msg.cpp index 2d22a212..f47c882b 100644 --- a/src/details/async_log_msg.cpp +++ b/src/details/async_log_msg.cpp @@ -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(other)); msg_type_ = other.msg_type_; buffer_ = std::move(other.buffer_); update_string_views();