Fix clang-tidy warning about non existing move

This commit is contained in:
gabime 2019-11-08 15:31:33 +02:00
parent be336e7514
commit 93008b2369

View File

@ -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();