add inline specifier for detail::combine

This commit is contained in:
T0b1-iOS 2020-07-18 06:28:11 +02:00 committed by GitHub
parent 43ab8a2357
commit 281349d0d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ namespace detail
{ {
// boost::hash_combine // boost::hash_combine
std::size_t combine(std::size_t seed, std::size_t h) noexcept inline std::size_t combine(std::size_t seed, std::size_t h) noexcept
{ {
seed ^= h + 0x9e3779b9 + (seed << 6U) + (seed >> 2U); seed ^= h + 0x9e3779b9 + (seed << 6U) + (seed >> 2U);
return seed; return seed;