1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-28 20:44:26 +01:00

Fix more build issues on appveyor

This commit is contained in:
Matias Fontanini
2017-05-08 21:51:27 -07:00
parent bd0db1354e
commit b0d66a01d2
5 changed files with 12 additions and 6 deletions

View File

@@ -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