From edb51b3e68649e1d38fcd6dd0d67bf2d758cc811 Mon Sep 17 00:00:00 2001 From: IRainman Date: Mon, 24 Mar 2025 12:59:52 +0300 Subject: [PATCH] . --- benchmarks/linux-perf-events.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)");