Template hash func to fix compiler error on < gcc-6

pull/434/head
j-berman 2 years ago committed by wowario
parent bd704f9373
commit b3712657ce
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -63,3 +63,13 @@ namespace net_utils
} // net_utils
} // epee
namespace std
{
template<> struct hash<epee::net_utils::zone>
{
std::size_t operator()(const epee::net_utils::zone _z) const
{
return static_cast<std::size_t>(_z);
}
};
} // std

Loading…
Cancel
Save