mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 23:38:52 +00:00
Template hash func to fix compiler error on < gcc-6
This commit is contained in:
parent
cfdee9ba69
commit
cf3be9926f
@ -64,3 +64,13 @@ namespace net_utils
|
|||||||
} // net_utils
|
} // net_utils
|
||||||
} // epee
|
} // 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…
Reference in New Issue
Block a user