diff --git a/benchmarks/linux-perf-events.h b/benchmarks/linux-perf-events.h index 99e4ef1..88460da 100644 --- a/benchmarks/linux-perf-events.h +++ b/benchmarks/linux-perf-events.h @@ -75,7 +75,7 @@ public: } } - inline void end(std::vector &results) { + inline void end(std::array &results) { if (fd != -1) { if (ioctl(fd, PERF_EVENT_IOC_DISABLE, PERF_IOC_FLAG_GROUP) == -1) { report_error("ioctl(PERF_EVENT_IOC_DISABLE)");