Skip to content

Commit

Permalink
Fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
progval committed Apr 30, 2024
1 parent 6a315d8 commit 1050341
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/builders/internal_memory_builder_single_phf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ struct internal_memory_builder_single_phf {
for (auto attempt = 0; attempt < 10; ++attempt) {
actual_config.seed = random_value();
try {
return build_from_hashes(hash_generator<RandomAccessIterator>(keys, actual_config.seed),
return build_from_hashes(hash_generator<RandomAccessIterator, hasher_type>(keys, actual_config.seed),
num_keys, actual_config);
} catch (seed_runtime_error const& error) {
std::cout << "attempt " << attempt + 1 << " failed" << std::endl;
}
}
throw seed_runtime_error();
}
return build_from_hashes(hash_generator<RandomAccessIterator>(keys, config.seed), num_keys,
config);
return build_from_hashes(hash_generator<RandomAccessIterator, hasher_type>(keys, config.seed),
num_keys, config);
}

template <typename RandomAccessIterator>
Expand Down

0 comments on commit 1050341

Please sign in to comment.