Skip to content

Commit

Permalink
Update GetData interface
Browse files Browse the repository at this point in the history
  • Loading branch information
zncleon committed Sep 11, 2023
1 parent 82bd9e5 commit 320502b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/bloom_filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ class BlockSplitBloomFilter {
/// Get the plain bitset value from the Bloom filter bitset.
///
/// @return bitset value;
const std::string& GetData() & { return data_; }
const std::string& GetData() const& { return data_; }

std::string GetData() && { return data_; }
std::string GetData() const&& { return data_; }

/// Compute hash for string value by using its plain encoding result.
///
Expand Down

0 comments on commit 320502b

Please sign in to comment.