Skip to content

Commit 8dada50

Browse files
committed
minor
1 parent 0693988 commit 8dada50

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/bit_vector.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ struct bit_vector //
188188
uint64_t block = pos >> 6;
189189
uint64_t shift = pos & 63;
190190
uint64_t word = m_data[block] >> shift;
191-
if (shift && block + 1 < m_data.size()) { word |= m_data[block + 1] << (64 - shift); }
191+
if (shift && block + 1 < m_data.size()) word |= m_data[block + 1] << (64 - shift);
192192
return word;
193193
}
194194

include/compact_vector.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ struct compact_vector //
2828
read();
2929
}
3030

31-
uint64_t operator*() { return m_cur_val; }
31+
uint64_t operator*() const { return m_cur_val; }
3232

3333
enumerator& operator++() {
3434
++m_i;

0 commit comments

Comments
 (0)