File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ and deserialize on the little endian systems. (Big endian systems are vanishingl
7474If you want a C++ version, you can roll your own:
7575
7676``` C++
77- #include " xorfilter .h"
77+ #include " binaryfusefilter .h"
7878
7979class BinaryFuse {
8080public:
@@ -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
You can’t perform that action at this time.
0 commit comments