From 9afe75aa76c02db21209e8f92b09be4b596a3983 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Fri, 19 Oct 2018 15:51:58 +0200 Subject: [core] address nits --- src/mbgl/util/hash.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mbgl/util/hash.hpp') diff --git a/src/mbgl/util/hash.hpp b/src/mbgl/util/hash.hpp index 987a8bd8dc..89aba00f72 100644 --- a/src/mbgl/util/hash.hpp +++ b/src/mbgl/util/hash.hpp @@ -8,12 +8,12 @@ namespace mbgl { namespace util { template -inline void hash_combine(std::size_t& seed, const T& v) { +void hash_combine(std::size_t& seed, const T& v) { seed ^= std::hash()(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } template -inline std::size_t hash(Args&&... args) { +std::size_t hash(Args&&... args) { std::size_t seed = 0; ignore({ (hash_combine(seed, args), 0)... }); return seed; -- cgit v1.2.1