summaryrefslogtreecommitdiff
path: root/src/net/ip_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ip_test.cpp')
-rw-r--r--src/net/ip_test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ip_test.cpp b/src/net/ip_test.cpp
index 9058804..c2095ee 100644
--- a/src/net/ip_test.cpp
+++ b/src/net/ip_test.cpp
@@ -28,6 +28,8 @@
#include "../poison.hpp"
+namespace tmwa
+{
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
#define CB(X) (std::integral_constant<bool, (X)>::value)
@@ -356,3 +358,4 @@ TEST(ip4mask, cover)
EXPECT_FALSE(m.covers(IP4Address({88, 56, 72, 0})));
EXPECT_FALSE(m.covers(IP4Address({88, 56, 72, 255})));
}
+} // namespace tmwa