mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
fix ringbuffer_sink moving warning (#2722)
This commit is contained in:
parent
c65aa4e488
commit
e4f92bed48
@ -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(std::move(SPDLOG_BUF_TO_STRING(formatted)));
|
ret.push_back(SPDLOG_BUF_TO_STRING(formatted));
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user