From 6883267996ebafd2872db19f9cef3b8f4f568ba5 Mon Sep 17 00:00:00 2001
From: gabime <gmelman1@gmail.com>
Date: Fri, 6 Sep 2019 18:55:45 +0300
Subject: [PATCH] Added const to circular_q empty() and full()

---
 include/spdlog/details/circular_q.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/spdlog/details/circular_q.h b/include/spdlog/details/circular_q.h
index 72d9bf65..709e0c24 100644
--- a/include/spdlog/details/circular_q.h
+++ b/include/spdlog/details/circular_q.h
@@ -71,12 +71,12 @@ public:
         }
     }
 
-    bool empty()
+    bool empty() const
     {
         return tail_ == head_;
     }
 
-    bool full()
+    bool full() const
     {
         // head is ahead of the tail by 1
         return ((tail_ + 1) % max_items_) == head_;