Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bf/hash.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ default_hash_function::default_hash_function(size_t seed)
{
}

size_t default_hash_function::operator()(object const& o) const
digest default_hash_function::operator()(object const& o) const
{
// FIXME: fall back to a generic universal hash function (e.g., HMAC/MD5) for
// too large objects.
Expand Down
4 changes: 2 additions & 2 deletions src/bf/hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ class default_hash_function

default_hash_function(size_t seed);

size_t operator()(object const& o) const;
digest operator()(object const& o) const;

private:
h3<size_t, max_obj_size> h3_;
h3<digest, max_obj_size> h3_;
};

/// A hasher which hashes an object *k* times.
Expand Down