mirror of https://github.com/AxioDL/zeus.git
Merge pull request #15 from lioncash/noexcept
Global: Mark hash_combine_impl() as noexcept
This commit is contained in:
commit
4d0e4f21ab
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue