diff --git a/cpp/benchmarks/fixture/templated_benchmark_fixture.hpp b/cpp/benchmarks/fixture/templated_benchmark_fixture.hpp index 68e5ff841b0..7d86ed1b95c 100644 --- a/cpp/benchmarks/fixture/templated_benchmark_fixture.hpp +++ b/cpp/benchmarks/fixture/templated_benchmark_fixture.hpp @@ -65,9 +65,9 @@ class FunctionTemplateBenchmark : public Fixture { virtual void BenchmarkCase(::benchmark::State& st) { func_(st); } }; -#define TEMPLATED_BENCHMARK_F(BaseClass, n, ...) \ - BENCHMARK_PRIVATE_DECLARE(n) = \ - (::benchmark::internal::RegisterBenchmarkInternal(new FunctionTemplateBenchmark( \ - #BaseClass "/" #n "<" #__VA_ARGS__ ">", n<__VA_ARGS__>))) +#define TEMPLATED_BENCHMARK_F(BaseClass, n, ...) \ + BENCHMARK_PRIVATE_DECLARE(n) = (::benchmark::internal::RegisterBenchmarkInternal( \ + new cudf::FunctionTemplateBenchmark(#BaseClass "/" #n "<" #__VA_ARGS__ ">", \ + n<__VA_ARGS__>))) } // namespace cudf