From afb6ad488ce83da1e97ba5a4ae1634f26f4679fc Mon Sep 17 00:00:00 2001 From: Matias Fontanini Date: Tue, 9 May 2017 08:09:41 -0700 Subject: [PATCH] Use TINS_IS_CXX11 macro properly --- src/ip_address.cpp | 2 +- src/ipv6_address.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ip_address.cpp b/src/ip_address.cpp index 1d55c45..015311a 100644 --- a/src/ip_address.cpp +++ b/src/ip_address.cpp @@ -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::operator()(const Tins::IPv4Address& addr) const { diff --git a/src/ipv6_address.cpp b/src/ipv6_address.cpp index 6523cc5..d9e5e3f 100644 --- a/src/ipv6_address.cpp +++ b/src/ipv6_address.cpp @@ -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::operator()(const Tins::IPv6Address& addr) const {