Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabi Melman <gmelman1@gmail.com>2022-04-27 08:35:50 +0300
committerGitHub <noreply@github.com>2022-04-27 08:35:50 +0300
commit173d06578f4cfecc94de1746b101240c93f8b45b (patch)
tree52eceb650e58279f87868f26d653500d5cdfa602 /include/spdlog
parentb299855ef2cd2deade01f8a649f311a437c195a9 (diff)
Fixed move in ringnuffer_sink
Diffstat (limited to 'include/spdlog')
-rw-r--r--include/spdlog/sinks/ringbuffer_sink.h2
1 files changed, 1 insertions, 1 deletions
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<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;
}