diff options
Diffstat (limited to 'util/bit_packing.hh')
-rw-r--r-- | util/bit_packing.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/util/bit_packing.hh b/util/bit_packing.hh index 73a5cb226..dcbd814c3 100644 --- a/util/bit_packing.hh +++ b/util/bit_packing.hh @@ -174,6 +174,13 @@ struct BitsMask { uint64_t mask; }; +struct BitAddress { + BitAddress(void *in_base, uint64_t in_offset) : base(in_base), offset(in_offset) {} + + void *base; + uint64_t offset; +}; + } // namespace util #endif // UTIL_BIT_PACKING__ |