Fixed some CppCheck warnings in new HP and DHP implementations
[libcds.git] / cds / gc / details / hp_common.h
index bfdccefa012c97828fcb6d19036f021845658ec3..be180677bfa2415014474019026bb35a33249807 100644 (file)
@@ -123,7 +123,7 @@ namespace cds { namespace gc { namespace hp { namespace common {
             : arr_{ nullptr }
         {}
 
-        constexpr size_t capacity() const
+        static constexpr size_t capacity()
         {
             return c_nCapacity;
         }