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.
This commit is contained in:
Arne Beer 2014-04-06 16:42:24 +02:00
parent ef1ccf4dea
commit 50f459d2c0

View File

@ -863,7 +863,7 @@ void Benchmark::RunInstance(const Instance& b, const BenchmarkReporter* br) {
// Run the specified benchmark, measure its peak memory usage, and
// return the peak memory usage.
double Benchmark::MeasurePeakHeapMemory(const Instance& b) {
double Benchmark::MeasurePeakHeapMemory() {
if (!get_memory_usage) return 0.0;
double bytes = 0.0;
/* TODO(dominich)