Commit 50f459d2 by Arne Beer

Unable to compile because of unused parameter

There is a unused parameter at benchmark:866 Benchmark::MeasurePeakHeapMemory . The function is marked as TODO and the code that uses the parameter is commented out. I just removed the parameter so it can compile again without editing the CMake compile flags.
parent ef1ccf4d
...@@ -863,7 +863,7 @@ void Benchmark::RunInstance(const Instance& b, const BenchmarkReporter* br) { ...@@ -863,7 +863,7 @@ void Benchmark::RunInstance(const Instance& b, const BenchmarkReporter* br) {
// Run the specified benchmark, measure its peak memory usage, and // Run the specified benchmark, measure its peak memory usage, and
// return the peak memory usage. // return the peak memory usage.
double Benchmark::MeasurePeakHeapMemory(const Instance& b) { double Benchmark::MeasurePeakHeapMemory() {
if (!get_memory_usage) return 0.0; if (!get_memory_usage) return 0.0;
double bytes = 0.0; double bytes = 0.0;
/* TODO(dominich) /* TODO(dominich)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment