Skip to content

Commit 7e2e6e7

Browse files
authored
Update README.md (#54)
1 parent 1f7e18b commit 7e2e6e7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ and deserialize on the little endian systems. (Big endian systems are vanishingl
7474
If you want a C++ version, you can roll your own:
7575

7676
```C++
77-
#include "xorfilter.h"
77+
#include "binaryfusefilter.h"
7878

7979
class BinaryFuse {
8080
public:
@@ -87,7 +87,7 @@ public:
8787
binary_fuse8_free(&filter);
8888
}
8989

90-
bool AddAll(const uint64_t* data, const size_t start, const size_t end) {
90+
bool AddAll(uint64_t* data, const size_t start, const size_t end) {
9191
return binary_fuse8_populate(data + start, end - start, &filter);
9292
}
9393
inline bool Contain(uint64_t &item) const {
@@ -97,7 +97,7 @@ public:
9797
return binary_fuse8_size_in_bytes(&filter);
9898
}
9999
BinaryFuse(BinaryFuse && o) : filter(o.filter) {
100-
o.filter.fingerprints = nullptr; // we take ownership for the data
100+
o.filter.Fingerprints = nullptr; // we take ownership for the data
101101
}
102102
binary_fuse8_t filter;
103103

0 commit comments

Comments
 (0)