From cff9db5044d55dcd5a802ad42a1f85c1658f6cc8 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Fri, 20 Sep 2019 16:11:40 +0300 Subject: [PATCH] Update log_msg_buffer-inl.h --- 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 8ad05050..3b6a749a 100644 --- a/include/spdlog/details/log_msg_buffer-inl.h +++ b/include/spdlog/details/log_msg_buffer-inl.h @@ -36,7 +36,7 @@ namespace details { SPDLOG_INLINE log_msg_buffer &log_msg_buffer::operator=(const log_msg_buffer &other) { log_msg::operator=(other); - buffe.clear(); + buffer.clear(); buffer.append(other.buffer.data(), other.buffer.data() + other.buffer.size()); update_string_views(); return *this;