Swap arguments. Fixes issue #31
This commit is contained in:
parent
ea88b32d4e
commit
74c9bf6154
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@
|
|||
-define(BLOOM_TO_BIN(Bloom), hanoidb_bloom:encode(Bloom)). %% -> Binary
|
||||
-define(BIN_TO_BLOOM(Bin), {ok, hanoidb_bloom:decode(Bin)}).
|
||||
-define(BLOOM_INSERT(Bloom, Key), {ok, hanoidb_bloom:add(Key,Bloom)}).
|
||||
-define(BLOOM_CONTAINS(Bloom, Key), hanoidb_bloom:member(Bloom, Key)). %% -> 'true' | 'false'
|
||||
-define(BLOOM_CONTAINS(Bloom, Key), hanoidb_bloom:member(Key, Bloom)). %% -> 'true' | 'false'
|
||||
|
||||
-else.
|
||||
|
||||
|
|
Loading…
Reference in a new issue