diff options
-rw-r--r-- | compat/int-hash.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/int-hash.cpp b/compat/int-hash.cpp index 35422486..3579a9c3 100644 --- a/compat/int-hash.cpp +++ b/compat/int-hash.cpp @@ -115,6 +115,7 @@ size_t fnvhash_buf(const void* __restrict buf, size_t size, size_t seed) noexcep case 2: hash *= b; hash ^= (uint8_t)*str++; [[fallthrough]]; case 1: hash *= b; hash ^= (uint8_t)*str++; [[fallthrough]]; case 0: break; + default: std::unreachable(); } return hash; } |