hecl/hecl: Make hash_combine_impl noexcept

This is used to implement hashes, and since hash implementations
shouldn't throw, these shouldn't as well.
This commit is contained in:
Lioncash 2019-08-24 02:45:40 -04:00
parent f957dd594b
commit 09fe937bc3
1 changed files with 1 additions and 1 deletions

View File

@ -1290,7 +1290,7 @@ constexpr double SBig(double val) noexcept { return val; }
#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);
}