From 9ea2c312d7641e60f8955067b2c301151dad5403 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Aug 2018 18:52:20 +0200 Subject: Rename fsb() to find_first() to match boost::dynamic_bitset --- chilbert/BigBitVec.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chilbert/BigBitVec.hpp') 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]); -- cgit v1.2.1