diff --git a/include/spdlog/sinks/ringbuffer_sink.h b/include/spdlog/sinks/ringbuffer_sink.h index d2fc8c49..65e227aa 100644 --- a/include/spdlog/sinks/ringbuffer_sink.h +++ b/include/spdlog/sinks/ringbuffer_sink.h @@ -50,7 +50,7 @@ public: { memory_buf_t formatted; base_sink::formatter_->format(q_.at(i), formatted); - ret.push_back(SPDLOG_BUF_TO_STRING(std::move(formatted))); + ret.push_back(std::move(SPDLOG_BUF_TO_STRING(formatted))); } return ret; }