diff --git a/include/mapnik/value.hpp b/include/mapnik/value.hpp index 6fdca6583..0906db2ee 100644 --- a/include/mapnik/value.hpp +++ b/include/mapnik/value.hpp @@ -940,7 +940,7 @@ operator << (std::basic_ostream& 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 diff --git a/include/mapnik/value_hash.hpp b/include/mapnik/value_hash.hpp index 1137d9686..e9667915e 100644 --- a/include/mapnik/value_hash.hpp +++ b/include/mapnik/value_hash.hpp @@ -62,7 +62,7 @@ struct value_hasher: public util::static_visitor } // namespace detail template -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());