Mark Bitmask::oompress const.
GitOrigin-RevId: 9dc12cb8b24afe5613e0dbdfca48da30da4c59b5
This commit is contained in:
parent
3e15c89f88
commit
ba5ae7229a
@ -21,7 +21,7 @@ Bitmask::Bitmask(Ones, int64 count) : data_(narrow_cast<size_t>((count + 7) / 8)
|
||||
}
|
||||
}
|
||||
|
||||
Bitmask Bitmask::compress(int k) {
|
||||
Bitmask Bitmask::compress(int k) const {
|
||||
Bitmask res;
|
||||
for (int64 i = 0; i * k < size(); i++) {
|
||||
bool f = true;
|
||||
|
@ -30,7 +30,7 @@ class Bitmask {
|
||||
void set(int64 offset_part);
|
||||
int64 size() const;
|
||||
|
||||
Bitmask compress(int k);
|
||||
Bitmask compress(int k) const;
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
|
Loading…
Reference in New Issue
Block a user