From ecd5449f7bcdb5097ed943088084bf71ab45bec6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 10 Feb 2025 19:32:58 -0500 Subject: Put local utility functions in anonymous namespaces --- benchmark/bench_bitvec.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'benchmark/bench_bitvec.cpp') diff --git a/benchmark/bench_bitvec.cpp b/benchmark/bench_bitvec.cpp index 92bb1d0..2493947 100644 --- a/benchmark/bench_bitvec.cpp +++ b/benchmark/bench_bitvec.cpp @@ -15,6 +15,8 @@ #include #include +namespace { + template struct BenchAnd { Duration operator()(Context& ctx) @@ -280,6 +282,8 @@ bench(Context& ctx, const std::string& name) bench_rec(ctx, out); } +} // namespace + int main() { -- cgit v1.2.1