diff --git a/include/mapnik/value/hash.hpp b/include/mapnik/value/hash.hpp index 81a27019a..1c6b57216 100644 --- a/include/mapnik/value/hash.hpp +++ b/include/mapnik/value/hash.hpp @@ -56,11 +56,6 @@ struct value_hasher return static_cast(val.hashCode()); } - std::size_t operator()(value_integer val) const - { - return static_cast(val); - } - template std::size_t operator()(T const& val) const { @@ -74,10 +69,7 @@ struct value_hasher template std::size_t value_hash(T const& val) { - std::size_t seed = 0; - detail::hash_combine(seed, util::apply_visitor(detail::value_hasher(), val)); - detail::hash_combine(seed, val.which()); - return seed; + return util::apply_visitor(detail::value_hasher(), val); } } // namespace mapnik