mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
fix recursion on windows - closes #2414
This commit is contained in:
parent
9d363ce7e7
commit
dc8a46017f
@ -940,7 +940,7 @@ operator << (std::basic_ostream<charT,traits>& out,
|
||||
// hash function
|
||||
inline std::size_t hash_value(value const& val)
|
||||
{
|
||||
return hash_value(val);
|
||||
return mapnik_hash_value(val);
|
||||
}
|
||||
|
||||
} // namespace value_adl_barrier
|
||||
|
||||
@ -62,7 +62,7 @@ struct value_hasher: public util::static_visitor<std::size_t>
|
||||
} // namespace detail
|
||||
|
||||
template <typename T>
|
||||
std::size_t hash_value(T const& val)
|
||||
std::size_t mapnik_hash_value(T const& val)
|
||||
{
|
||||
std::size_t seed = util::apply_visitor(detail::value_hasher(), val);
|
||||
detail::hash_combine(seed, val.get_type_index());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user