Merge pull request #15 from lioncash/noexcept

Global: Mark hash_combine_impl() as noexcept
This commit is contained in:
Phillip Stephens 2019-09-04 19:33:47 -07:00 committed by GitHub
commit 4d0e4f21ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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