We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d7ad07 commit 8607d0aCopy full SHA for 8607d0a
include/pasta/bit_vector/bit_vector.hpp
@@ -209,13 +209,13 @@ class BitVector {
209
210
private:
211
//! Size of the bit vector in bits.
212
- size_t bit_size_;
+ size_t bit_size_ = 0;
213
//! Size of the underlying data used to store the bits.
214
- size_t size_;
+ size_t size_ = 0;
215
//! Array of 64-bit words used to store the content of the bit vector.
216
tlx::SimpleVector<RawDataType, tlx::SimpleVectorMode::NoInitNoDestroy> data_;
217
//! Pointer to the raw data of the bit vector.
218
- RawDataPointer raw_data_;
+ RawDataPointer raw_data_ = nullptr;
219
220
public:
221
/*!
0 commit comments