Skip to content

Commit

Permalink
bitfield fix missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsippel committed Sep 12, 2023
1 parent 642f521 commit 26bf68e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redGrapes/util/bitfield.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct AtomicBitfield
inline bool get( unsigned idx )
{
__INDEX_CALC(idx,chunk_idx,k,mask)
state[chunk_idx] & mask;
return state[chunk_idx] & mask;
}

/* searches for a bit which is of state `expected_value`
Expand Down

0 comments on commit 26bf68e

Please sign in to comment.