diff --git a/libp2p/Host.h b/libp2p/Host.h index c7514cf19..132dd379a 100644 --- a/libp2p/Host.h +++ b/libp2p/Host.h @@ -52,7 +52,7 @@ template<> struct hash> size_t operator()(pair const& _value) const { size_t ret = hash()(_value.first); - return ret ^ hash()(_value.second) + 0x9e3779b9 + (ret << 6) + (ret >> 2); + return ret ^ (hash()(_value.second) + 0x9e3779b9 + (ret << 6) + (ret >> 2)); } }; }