aboutsummaryrefslogtreecommitdiffstats
path: root/include/chilbert
diff options
context:
space:
mode:
Diffstat (limited to 'include/chilbert')
-rw-r--r--include/chilbert/SmallBitVec.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/chilbert/SmallBitVec.hpp b/include/chilbert/SmallBitVec.hpp
index bd54855..37854d3 100644
--- a/include/chilbert/SmallBitVec.hpp
+++ b/include/chilbert/SmallBitVec.hpp
@@ -244,7 +244,7 @@ public:
const Rack* data() const { return &m_rack; }
/// Return the number of racks
- size_t num_racks() const { return 1; }
+ static constexpr size_t num_racks() { return 1U; }
template<class BitVec>
class iterator_base