From e6c4ed9c53532795b27051704446cd8462463f40 Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Fri, 29 Nov 2024 12:37:18 -0500 Subject: [PATCH] [ci] add array header for macos-14 clang --- src/mmc_highorder.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mmc_highorder.cpp b/src/mmc_highorder.cpp index 6ad1c1a..411f430 100644 --- a/src/mmc_highorder.cpp +++ b/src/mmc_highorder.cpp @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -114,7 +115,7 @@ class Vec3Hash { std::size_t seed = 3; for (int i = 0; i < 3; i++) { - seed ^= vec.at(i) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= vec[i] + 0x9e3779b9 + (seed << 6) + (seed >> 2); } return seed;