Browse Source

rebased on the latest develop

cl-refactor
Vlad Gluhovsky 10 years ago
parent
commit
4c854e8e97
  1. 6
      libwhisper/BloomFilter.h

6
libwhisper/BloomFilter.h

@ -34,11 +34,11 @@ public:
TopicBloomFilter() { init(); }
TopicBloomFilter(AbridgedTopic const& _h): AbridgedTopic(_h) { init(); }
void addBloom(AbridgedTopic const& _h) { add(_h.template bloom<BitsPerBloom, 4>()); }
void removeBloom(AbridgedTopic const& _h) { remove(_h.template bloom<BitsPerBloom, 4>()); }
void addBloom(AbridgedTopic const& _h) { add(_h.template bloomPart<BitsPerBloom, 4>()); }
void removeBloom(AbridgedTopic const& _h) { remove(_h.template bloomPart<BitsPerBloom, 4>()); }
void add(AbridgedTopic const& _h);
void remove(AbridgedTopic const& _h);
bool containsBloom(AbridgedTopic const& _h) const { return contains(_h.template bloom<BitsPerBloom, 4>()); }
bool containsBloom(AbridgedTopic const& _h) const { return contains(_h.template bloomPart<BitsPerBloom, 4>()); }
enum { BitsPerBloom = 3 };

Loading…
Cancel
Save