Skip to content

Commit 2b5ff71

Browse files
committed
Let us make attributes public, otherwise serializing from the outside is hard.
1 parent ef12a10 commit 2b5ff71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xorfilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ size_t getHashFromHash(uint64_t hash, int index, int blockLength) {
3939
template <typename ItemType, typename FingerprintType,
4040
typename HashFamily = TwoIndependentMultiplyShift>
4141
class XorFilter {
42+
public:
4243

4344
size_t size;
4445
size_t arrayLength;
@@ -51,7 +52,6 @@ class XorFilter {
5152
return (FingerprintType) hash ^ (hash >> 32);
5253
}
5354

54-
public:
5555
explicit XorFilter(const size_t size) {
5656
hasher = new HashFamily();
5757
this->size = size;

0 commit comments

Comments
 (0)