summaryrefslogtreecommitdiffstats
path: root/benchmarks/irs_bench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/irs_bench.cpp')
-rw-r--r--benchmarks/irs_bench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/irs_bench.cpp b/benchmarks/irs_bench.cpp
index 976adf9..36d88f6 100644
--- a/benchmarks/irs_bench.cpp
+++ b/benchmarks/irs_bench.cpp
@@ -50,7 +50,7 @@ int main(int argc, char **argv) {
}
/* read in the range queries and add sample size and rng for sampling */
auto queries = read_range_queries<QP>(q_fname, .001);
- for (auto q : queries) {
+ for (auto &q : queries) {
q.sample_size = 1000;
q.rng = rng;
}