diff options
Diffstat (limited to 'runtime/base/bit_vector.h')
| -rw-r--r-- | runtime/base/bit_vector.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/runtime/base/bit_vector.h b/runtime/base/bit_vector.h index afa8dc187e..9b55e708c8 100644 --- a/runtime/base/bit_vector.h +++ b/runtime/base/bit_vector.h @@ -113,9 +113,16 @@ class BitVector { BitVector(uint32_t start_bits, bool expandable, + Allocator* allocator); + + BitVector(bool expandable, Allocator* allocator, - uint32_t storage_size = 0, - uint32_t* storage = nullptr); + uint32_t storage_size, + uint32_t* storage); + + BitVector(const BitVector& src, + bool expandable, + Allocator* allocator); virtual ~BitVector(); @@ -245,6 +252,8 @@ class BitVector { void Dump(std::ostream& os, const char* prefix) const; + Allocator* GetAllocator() const; + private: /** * @brief Dump the bitvector into buffer in a 00101..01 format. |