1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Use TINS_IS_CXX11 macro properly

This commit is contained in:
Matias Fontanini
2017-05-09 08:09:41 -07:00
parent 5d68211af2
commit afb6ad488c
2 changed files with 2 additions and 2 deletions

View File

@@ -156,7 +156,7 @@ IPv4Address IPv4Address::operator&(const IPv4Address& mask) const {
} // Tins
#ifdef TINS_IS_CXX11
#if TINS_IS_CXX11
namespace std {
size_t hash<Tins::IPv4Address>::operator()(const Tins::IPv4Address& addr) const {

View File

@@ -153,7 +153,7 @@ IPv6Address operator&(const IPv6Address& lhs, const IPv6Address& rhs) {
} // Tins
#ifdef TINS_IS_CXX11
#if TINS_IS_CXX11
namespace std {
size_t hash<Tins::IPv6Address>::operator()(const Tins::IPv6Address& addr) const {