From 93008b23693cb0a2798f62a8c575919d0da91984 Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 8 Nov 2019 15:31:33 +0200 Subject: [PATCH] Fix clang-tidy warning about non existing move --- include/spdlog/details/log_msg_buffer-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/details/log_msg_buffer-inl.h b/include/spdlog/details/log_msg_buffer-inl.h index 0e1d7b02..704cd9fa 100644 --- a/include/spdlog/details/log_msg_buffer-inl.h +++ b/include/spdlog/details/log_msg_buffer-inl.h @@ -27,7 +27,7 @@ SPDLOG_INLINE log_msg_buffer::log_msg_buffer(const log_msg_buffer &other) } SPDLOG_INLINE log_msg_buffer::log_msg_buffer(log_msg_buffer &&other) SPDLOG_NOEXCEPT - : log_msg{std::move(other)} + : log_msg{other} , buffer{std::move(other.buffer)} { update_string_views();