From fbf77ea8d919800f30e3052f328290c4da09fc18 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 10 Jun 2015 16:50:27 +0900 Subject: [PATCH] Compile fix. --- libp2p/Host.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } }; }