aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/bench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/bench.cpp')
-rw-r--r--doc/examples/bench.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/examples/bench.cpp b/doc/examples/bench.cpp
index cc43fade0..6a15df7c0 100644
--- a/doc/examples/bench.cpp
+++ b/doc/examples/bench.cpp
@@ -64,11 +64,10 @@ void benchmark_algo(const std::string& algo,
RandomNumberGenerator& rng)
{
u32bit milliseconds = 3000;
- Default_Benchmark_Timer timer;
Algorithm_Factory& af = global_state().algorithm_factory();
std::map<std::string, double> speeds =
- algorithm_benchmark(algo, milliseconds, timer, rng, af);
+ algorithm_benchmark(algo, milliseconds, rng, af);
std::cout << algo << ":";