Unverified Commit d9dce8f0 authored by Simon Giesecke's avatar Simon Giesecke Committed by GitHub

Merge pull request #3578 from ssbl/unused-parameter

Problem: unused parameter in benchmark function
parents 9c5cf857 e26f0941
...@@ -49,7 +49,6 @@ const int chars_len = 36; ...@@ -49,7 +49,6 @@ const int chars_len = 36;
template <class T> template <class T>
void benchmark_lookup (T &subscriptions_, void benchmark_lookup (T &subscriptions_,
std::vector<unsigned char *> &input_set_,
std::vector<unsigned char *> &queries_) std::vector<unsigned char *> &queries_)
{ {
using namespace std::chrono; using namespace std::chrono;
...@@ -114,10 +113,10 @@ int main () ...@@ -114,10 +113,10 @@ int main ()
static_cast<unsigned long long> (nqueries), static_cast<unsigned long long> (nqueries),
static_cast<unsigned long long> (key_length)); static_cast<unsigned long long> (key_length));
std::puts ("[trie]"); std::puts ("[trie]");
benchmark_lookup (trie, input_set, queries); benchmark_lookup (trie, queries);
std::puts ("[radix_tree]"); std::puts ("[radix_tree]");
benchmark_lookup (radix_tree, input_set, queries); benchmark_lookup (radix_tree, queries);
for (auto &op : input_set) for (auto &op : input_set)
delete[] op; delete[] op;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment