From 4fffd3a111fe82d97f49299bffe3a6eb7c84e71a Mon Sep 17 00:00:00 2001 From: gabime Date: Tue, 17 Sep 2019 12:05:23 +0300 Subject: [PATCH] Avoid un necessary move when popping circular_q --- include/spdlog/details/circular_q.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/details/circular_q.h b/include/spdlog/details/circular_q.h index 484666f1..94f39043 100644 --- a/include/spdlog/details/circular_q.h +++ b/include/spdlog/details/circular_q.h @@ -20,7 +20,7 @@ class circular_q public: using item_type = T; - // empty cir + // empty ctor - create a disabled queue with no elements allocated at all circular_q() = default; explicit circular_q(size_t max_items)