Global: Mark hash_combine_impl() as noexcept

This is used with hashes that are declared noexcept, so this should also
be noexcept.
This commit is contained in:
Lioncash 2019-09-04 10:34:11 -04:00
parent 2206497e35
commit 3d14be889c
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ using simd_doubles = athena::simd_doubles;
#endif
template <typename SizeT>
constexpr void hash_combine_impl(SizeT& seed, SizeT value) {
seed ^= value + 0x9e3779b9 + (seed<<6) + (seed>>2);
constexpr void hash_combine_impl(SizeT& seed, SizeT value) noexcept {
seed ^= value + 0x9e3779b9 + (seed << 6) + (seed >> 2);
}
} // namespace zeus