mirror of
https://github.com/mfontanini/libtins
synced 2026-01-28 04:34:27 +01:00
Fix more build issues on appveyor
This commit is contained in:
@@ -156,7 +156,9 @@ IPv4Address IPv4Address::operator&(const IPv4Address& mask) const {
|
||||
|
||||
} // Tins
|
||||
|
||||
#ifdef TINS_IS_CXX11
|
||||
// Hash
|
||||
size_t std::hash<Tins::IPv4Address>::operator()(const Tins::IPv4Address& addr) const {
|
||||
return std::hash<uint32_t>()(addr);
|
||||
}
|
||||
#endif // TINS_IS_CXX11
|
||||
|
||||
Reference in New Issue
Block a user