diff --git a/contrib/epee/include/net/enums.h b/contrib/epee/include/net/enums.h index 8c402da2021..b9e05a3eb56 100644 --- a/contrib/epee/include/net/enums.h +++ b/contrib/epee/include/net/enums.h @@ -64,3 +64,13 @@ namespace net_utils } // net_utils } // epee +namespace std +{ + template<> struct hash + { + std::size_t operator()(const epee::net_utils::zone _z) const + { + return static_cast(_z); + } + }; +} // std