diff options
author | David Robillard <d@drobilla.net> | 2018-08-11 18:52:20 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-29 14:46:19 +0200 |
commit | 9ea2c312d7641e60f8955067b2c301151dad5403 (patch) | |
tree | 36521da9d3f5e421ee8bbc4f34cfeb6e421e6b3e /chilbert/BigBitVec.hpp | |
parent | 59a618492e083291f50ac47cf2adc88dac33b6ce (diff) | |
download | chilbert-9ea2c312d7641e60f8955067b2c301151dad5403.tar.gz chilbert-9ea2c312d7641e60f8955067b2c301151dad5403.tar.bz2 chilbert-9ea2c312d7641e60f8955067b2c301151dad5403.zip |
Rename fsb() to find_first() to match boost::dynamic_bitset
Diffstat (limited to 'chilbert/BigBitVec.hpp')
-rw-r--r-- | chilbert/BigBitVec.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chilbert/BigBitVec.hpp b/chilbert/BigBitVec.hpp index c395b05..1f97039 100644 --- a/chilbert/BigBitVec.hpp +++ b/chilbert/BigBitVec.hpp @@ -409,7 +409,7 @@ public: } /// Return 1 + the index of the first set bit, or 0 if there are none - int fsb() const + int find_first() const { for (int i = 0; i < m_iRacks; ++i) { const int j = ffs(m_pcRacks[i]); |