From e26f0941936c0a8ec9e072fcc7a6f00df53c58ea Mon Sep 17 00:00:00 2001 From: Shubham Lagwankar Date: Fri, 12 Jul 2019 11:29:14 -0400 Subject: [PATCH] Problem: unused parameter in benchmark function Solution: remove it --- perf/benchmark_radix_tree.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/perf/benchmark_radix_tree.cpp b/perf/benchmark_radix_tree.cpp index 1b6e4a73..f6d6e7e3 100644 --- a/perf/benchmark_radix_tree.cpp +++ b/perf/benchmark_radix_tree.cpp @@ -49,7 +49,6 @@ const int chars_len = 36; template void benchmark_lookup (T &subscriptions_, - std::vector &input_set_, std::vector &queries_) { using namespace std::chrono; @@ -114,10 +113,10 @@ int main () static_cast (nqueries), static_cast (key_length)); std::puts ("[trie]"); - benchmark_lookup (trie, input_set, queries); + benchmark_lookup (trie, queries); std::puts ("[radix_tree]"); - benchmark_lookup (radix_tree, input_set, queries); + benchmark_lookup (radix_tree, queries); for (auto &op : input_set) delete[] op;