diff --git a/libcxx/test/benchmarks/CartesianBenchmarks.h b/libcxx/test/benchmarks/CartesianBenchmarks.h index eca4e15cd009bc..c712230843ebf4 100644 --- a/libcxx/test/benchmarks/CartesianBenchmarks.h +++ b/libcxx/test/benchmarks/CartesianBenchmarks.h @@ -27,11 +27,11 @@ constexpr auto makeEnumValueTuple(std::index_sequence) { } template -static auto skip(const B& Bench, int) -> decltype(Bench.skip()) { +auto skip(const B& Bench, int) -> decltype(Bench.skip()) { return Bench.skip(); } template -static auto skip(const B& Bench, char) { +auto skip(const B&, char) { return false; } @@ -51,7 +51,7 @@ void makeBenchmarkFromValues(const std::vector >& A) { } template