summaryrefslogtreecommitdiffstats
path: root/libcxx/utils/google-benchmark/test/templated_fixture_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/utils/google-benchmark/test/templated_fixture_test.cc')
-rw-r--r--libcxx/utils/google-benchmark/test/templated_fixture_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/utils/google-benchmark/test/templated_fixture_test.cc b/libcxx/utils/google-benchmark/test/templated_fixture_test.cc
index ec5b4c0cc07..fe9865cc776 100644
--- a/libcxx/utils/google-benchmark/test/templated_fixture_test.cc
+++ b/libcxx/utils/google-benchmark/test/templated_fixture_test.cc
@@ -4,15 +4,15 @@
#include <cassert>
#include <memory>
-template<typename T>
+template <typename T>
class MyFixture : public ::benchmark::Fixture {
-public:
+ public:
MyFixture() : data(0) {}
T data;
};
-BENCHMARK_TEMPLATE_F(MyFixture, Foo, int)(benchmark::State &st) {
+BENCHMARK_TEMPLATE_F(MyFixture, Foo, int)(benchmark::State& st) {
for (auto _ : st) {
data += 1;
}
OpenPOWER on IntegriCloud