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:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user