changed complexity_n to int and fix some whitespaces
diff --git a/include/benchmark/benchmark_api.h b/include/benchmark/benchmark_api.h
index 34cd0b5..f38dc97 100644
--- a/include/benchmark/benchmark_api.h
+++ b/include/benchmark/benchmark_api.h
@@ -363,7 +363,7 @@
// family benchmark, then current benchmark will be part of the computation and complexity_n will
// represent the length of N.
BENCHMARK_ALWAYS_INLINE
- void SetComplexityN(size_t complexity_n) {
+ void SetComplexityN(int complexity_n) {
complexity_n_ = complexity_n;
}
@@ -444,7 +444,7 @@
size_t bytes_processed_;
size_t items_processed_;
- size_t complexity_n_;
+ int complexity_n_;
public:
// FIXME: Make this private somehow.
diff --git a/include/benchmark/reporter.h b/include/benchmark/reporter.h
index e3a8f57..22c97a0 100644
--- a/include/benchmark/reporter.h
+++ b/include/benchmark/reporter.h
@@ -87,7 +87,7 @@
// Keep track of arguments to compute asymptotic complexity
BigO complexity;
BigOFunc* complexity_lambda;
- size_t complexity_n;
+ int complexity_n;
// Inform print function whether the current run is a complexity report
bool report_big_o;
@@ -133,14 +133,14 @@
error_stream_ = err;
}
- std::ostream& GetOutputStream() const {
+ std::ostream& GetOutputStream() const {
return *output_stream_;
}
std::ostream& GetErrorStream() const {
return *error_stream_;
}
-
+
virtual ~BenchmarkReporter();
// Write a human readable string to 'out' representing the specified