Unverified Commit 1fd6c588 authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

Merge pull request #2285 from T0b1-iOS/develop

add inline specifier for detail::combine
parents 43ab8a23 88243b3f
......@@ -9,7 +9,7 @@ namespace detail
{
// 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);
return seed;
......
......@@ -4454,7 +4454,7 @@ namespace detail
{
// 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);
return seed;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment