From 109f528a4039c298e1f02ff4ce2fd32c552c5a38 Mon Sep 17 00:00:00 2001 From: Ismael Date: Thu, 2 Jun 2016 19:48:53 +0200 Subject: [PATCH] removed functional library not needed --- include/benchmark/benchmark_api.h | 1 - src/complexity.cc | 1 - test/complexity_test.cc | 6 +++--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/include/benchmark/benchmark_api.h b/include/benchmark/benchmark_api.h index 49167ffb..0cb43488 100644 --- a/include/benchmark/benchmark_api.h +++ b/include/benchmark/benchmark_api.h @@ -152,7 +152,6 @@ BENCHMARK(BM_test)->Unit(benchmark::kMillisecond); #include #include #include -#include #include "macros.h" diff --git a/src/complexity.cc b/src/complexity.cc index 0d6f90bc..1b444cea 100644 --- a/src/complexity.cc +++ b/src/complexity.cc @@ -22,7 +22,6 @@ #include "stat.h" #include #include -#include namespace benchmark { diff --git a/test/complexity_test.cc b/test/complexity_test.cc index ed434fe1..03bd2dcc 100644 --- a/test/complexity_test.cc +++ b/test/complexity_test.cc @@ -153,9 +153,9 @@ void BM_Complexity_O1(benchmark::State& state) { } state.SetComplexityN(state.range_x()); } -BENCHMARK(BM_Complexity_O1)->Range(1, 1<<18)->Complexity(benchmark::o1); -BENCHMARK(BM_Complexity_O1)->Range(1, 1<<18)->Complexity([](size_t){return 1.0; }); -BENCHMARK(BM_Complexity_O1)->Range(1, 1<<18)->Complexity(); +BENCHMARK(BM_Complexity_O1) -> Range(1, 1<<18) -> Complexity(benchmark::o1); +BENCHMARK(BM_Complexity_O1) -> Range(1, 1<<18) -> Complexity([](size_t){return 1.0; }); +BENCHMARK(BM_Complexity_O1) -> Range(1, 1<<18) -> Complexity(); std::string big_o_1_test_name = "BM_Complexity_O1_BigO"; std::string rms_o_1_test_name = "BM_Complexity_O1_RMS";