diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-08-02 17:05:34 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-08-02 17:05:34 +0200 |
| commit | 1c2fb173ea3b674207badc721556ad72962b266e (patch) | |
| tree | 950b1d58b719f3302045e114eee35a426af8b0dd /boot/result.cc | |
| parent | c07c43bf911f62ad6363c024b3f81ceb4f95b16c (diff) | |
| download | elna-1c2fb173ea3b674207badc721556ad72962b266e.tar.gz | |
Check array property accessbility at compile time
Diffstat (limited to 'boot/result.cc')
| -rw-r--r-- | boot/result.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |
