aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark/bench_hilbert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bench_hilbert.cpp')
-rw-r--r--benchmark/bench_hilbert.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/benchmark/bench_hilbert.cpp b/benchmark/bench_hilbert.cpp
index b8cd9d6..2d265c3 100644
--- a/benchmark/bench_hilbert.cpp
+++ b/benchmark/bench_hilbert.cpp
@@ -15,6 +15,8 @@
#include <fstream>
#include <string>
+namespace {
+
template<class H, size_t M, size_t D>
struct BenchCoordsToIndex {
Duration operator()(Context& ctx)
@@ -82,6 +84,8 @@ bench(Context& ctx, const std::string& name)
bench_rec<Bench, 8, 2, 4, 8, 16, 32, 64>(ctx, out);
}
+} // namespace
+
int
main()
{