aboutsummaryrefslogtreecommitdiffstats
path: root/chilbert/FixBitVec.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-08-18 15:03:24 +0200
committerDavid Robillard <d@drobilla.net>2018-09-29 14:46:38 +0200
commitf083394e8491d29096fa12404f06ee34ea0c4b34 (patch)
tree155c96a79aaae6a5255bb1bcde40197b030fd7da /chilbert/FixBitVec.hpp
parent591ccc10408497bb856431d37834a9eb37311742 (diff)
downloadchilbert-f083394e8491d29096fa12404f06ee34ea0c4b34.tar.gz
chilbert-f083394e8491d29096fa12404f06ee34ea0c4b34.tar.bz2
chilbert-f083394e8491d29096fa12404f06ee34ea0c4b34.zip
Fix const-correctness of rackCount()
Diffstat (limited to 'chilbert/FixBitVec.hpp')
-rw-r--r--chilbert/FixBitVec.hpp2
1 files changed, 1 insertions, 1 deletions
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, "");