mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
Fixed move in ringnuffer_sink
This commit is contained in:
parent
b299855ef2
commit
173d06578f
@ -50,7 +50,7 @@ public:
|
||||
{
|
||||
memory_buf_t 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user