diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-07-10 04:02:00 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-07-10 04:02:00 +0000 |
commit | fcafd3e6002cb682d737ddf56f1d972358dbfa61 (patch) | |
tree | a1cd9d15d739472558d8c4a325c5b492410d8f51 /libcxx/utils/google-benchmark/test/templated_fixture_test.cc | |
parent | 1c5ae9bc1f557fb27471c20de9fb3697de7f365e (diff) | |
download | bcm5719-llvm-fcafd3e6002cb682d737ddf56f1d972358dbfa61.tar.gz bcm5719-llvm-fcafd3e6002cb682d737ddf56f1d972358dbfa61.zip |
Update google-benchark to trunk
llvm-svn: 336635
Diffstat (limited to 'libcxx/utils/google-benchmark/test/templated_fixture_test.cc')
-rw-r--r-- | libcxx/utils/google-benchmark/test/templated_fixture_test.cc | 6 |
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; } |