diff --git a/nano/node/common.hpp b/nano/node/common.hpp index 3d29457f4..d3b5627e9 100644 --- a/nano/node/common.hpp +++ b/nano/node/common.hpp @@ -112,6 +112,7 @@ struct hash<::nano::tcp_endpoint> return ehash (endpoint_a); } }; +#ifndef BOOST_ASIO_HAS_STD_HASH template <> struct hash { @@ -121,6 +122,7 @@ struct hash return ihash (ip_a); } }; +#endif } namespace boost {