Skip to content

Commit

Permalink
[ci] add array header for macos-14 clang
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Nov 29, 2024
1 parent ad080fa commit e6c4ed9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mmc_highorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <list>
#include <vector>
#include <unordered_map>
#include <array>
#include <algorithm>
#include <string>
#include <string.h>
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit e6c4ed9

Please sign in to comment.