aboutsummaryrefslogtreecommitdiffstats
path: root/chilbert/SetBits.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-08-19 16:47:38 +0200
committerDavid Robillard <d@drobilla.net>2018-09-29 14:49:01 +0200
commit03f39c8be08d632d1f982f5ba5f2e95256be1122 (patch)
tree41ae78da247659bf8261bdd2397fadf32550d2d9 /chilbert/SetBits.hpp
parentfa3d8f677b6a30c2115e7d167d4938e293dfad81 (diff)
downloadchilbert-03f39c8be08d632d1f982f5ba5f2e95256be1122.tar.gz
chilbert-03f39c8be08d632d1f982f5ba5f2e95256be1122.tar.bz2
chilbert-03f39c8be08d632d1f982f5ba5f2e95256be1122.zip
Use consistent naming scheme
Diffstat (limited to 'chilbert/SetBits.hpp')
-rw-r--r--chilbert/SetBits.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/chilbert/SetBits.hpp b/chilbert/SetBits.hpp
index 0adbbf8..cc5d602 100644
--- a/chilbert/SetBits.hpp
+++ b/chilbert/SetBits.hpp
@@ -32,10 +32,10 @@ namespace chilbert {
*/
template <class H, class I>
inline void
-setBits(H& h, const size_t n, const size_t i, const I& w)
+set_bits(H& h, const size_t n, const size_t i, const I& w)
{
for (size_t j = 0; j < n; j++) {
- setBit(h, i + j, testBit(w, j));
+ set_bit(h, i + j, test_bit(w, j));
}
}