From 1c2fb173ea3b674207badc721556ad72962b266e Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 2 Aug 2026 17:05:34 +0200 Subject: Check array property accessbility at compile time --- boot/result.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'boot/result.cc') diff --git a/boot/result.cc b/boot/result.cc index b56046b..c47be95 100644 --- a/boot/result.cc +++ b/boot/result.cc @@ -424,9 +424,9 @@ namespace elna::boot { hash_accumulator result{}; - result.m_seed ^= that + hash_accumulator::golden_ratio - // NOLINTNEXTLINE(readability-magic-numbers) - + (this->m_seed << 6) + (this->m_seed >> 2); + result.m_seed ^= that + golden_ratio + + (this->m_seed << mix_shift_left) + + (this->m_seed >> mix_shift_right); return result; } -- cgit v1.2.3