From 0340e8bb25871ee0eb59fc836538512523c36f6e Mon Sep 17 00:00:00 2001 From: IRainman Date: Mon, 24 Mar 2025 12:57:32 +0300 Subject: [PATCH] build fix. --- benchmarks/linux-perf-events.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/linux-perf-events.h b/benchmarks/linux-perf-events.h index 0a9e553..99e4ef1 100644 --- a/benchmarks/linux-perf-events.h +++ b/benchmarks/linux-perf-events.h @@ -10,7 +10,7 @@ #include // for memset #include -#include +#include #include template class LinuxEvents { @@ -22,7 +22,7 @@ template class LinuxEvents { std::vector ids{}; public: - explicit LinuxEvents(std::vector config_vec) : fd(0), working(true) { + explicit LinuxEvents(std::array config_vec) : fd(0), working(true) { memset(&attribs, 0, sizeof(attribs)); attribs.type = TYPE; attribs.size = sizeof(attribs);