Fixed move in ringnuffer_sink

This commit is contained in:
Gabi Melman 2022-04-27 08:35:50 +03:00 committed by GitHub
parent b299855ef2
commit 173d06578f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ public:
{ {
memory_buf_t formatted; memory_buf_t formatted;
base_sink<Mutex>::formatter_->format(q_.at(i), formatted); base_sink<Mutex>::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; return ret;
} }