fix recursion on windows - closes #2414

This commit is contained in:
Dane Springmeyer 2014-09-06 21:07:48 +00:00
parent 9d363ce7e7
commit dc8a46017f
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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());