From f083394e8491d29096fa12404f06ee34ea0c4b34 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Aug 2018 15:03:24 +0200 Subject: Fix const-correctness of rackCount() --- chilbert/FixBitVec.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chilbert') diff --git a/chilbert/FixBitVec.hpp b/chilbert/FixBitVec.hpp index d098956..289334a 100644 --- a/chilbert/FixBitVec.hpp +++ b/chilbert/FixBitVec.hpp @@ -253,7 +253,7 @@ public: const FBV_UINT* racks() const { return &m_rack; } /// Return the number of racks - int rackCount() { return 1; } + int rackCount() const { return 1; } private: static_assert(8 * sizeof(FBV_UINT) == FBV_BITS, ""); -- cgit v1.2.1