From 53a1c12008deb318d2463fee9c34ad492662be7b Mon Sep 17 00:00:00 2001 From: Sylvain Garcia Date: Thu, 22 Oct 2020 18:48:12 +0200 Subject: [PATCH] fix C2027 from doctest --- test/ip_address_tests.cpp | 2 ++ test/ip_endpoint_tests.cpp | 2 ++ test/ipv4_address_tests.cpp | 1 + test/ipv4_endpoint_tests.cpp | 2 ++ test/ipv6_address_tests.cpp | 1 + test/ipv6_endpoint_tests.cpp | 2 ++ test/sync_wait_tests.cpp | 2 ++ 7 files changed, 12 insertions(+) diff --git a/test/ip_address_tests.cpp b/test/ip_address_tests.cpp index 22caea63..dc39a968 100644 --- a/test/ip_address_tests.cpp +++ b/test/ip_address_tests.cpp @@ -7,6 +7,8 @@ #include "doctest/doctest.h" +#include // error C2027 from doctest.h:861 + TEST_SUITE_BEGIN("ip_address"); using cppcoro::net::ip_address; diff --git a/test/ip_endpoint_tests.cpp b/test/ip_endpoint_tests.cpp index a26e4d3d..208a2fc4 100644 --- a/test/ip_endpoint_tests.cpp +++ b/test/ip_endpoint_tests.cpp @@ -8,6 +8,8 @@ #include "doctest/doctest.h" +#include // error C2027 from doctest.h:861 + TEST_SUITE_BEGIN("ip_endpoint"); using namespace cppcoro::net; diff --git a/test/ipv4_address_tests.cpp b/test/ipv4_address_tests.cpp index 75cd959c..96a3531f 100644 --- a/test/ipv4_address_tests.cpp +++ b/test/ipv4_address_tests.cpp @@ -7,6 +7,7 @@ #include "doctest/doctest.h" +#include // error C2027 from doctest.h:861 TEST_SUITE_BEGIN("ipv4_address"); diff --git a/test/ipv4_endpoint_tests.cpp b/test/ipv4_endpoint_tests.cpp index 0ec9253d..cce12843 100644 --- a/test/ipv4_endpoint_tests.cpp +++ b/test/ipv4_endpoint_tests.cpp @@ -7,6 +7,8 @@ #include "doctest/doctest.h" +#include // error C2027 from doctest.h:861 + TEST_SUITE_BEGIN("ip_endpoint"); using namespace cppcoro::net; diff --git a/test/ipv6_address_tests.cpp b/test/ipv6_address_tests.cpp index 8670df28..e1ce18b2 100644 --- a/test/ipv6_address_tests.cpp +++ b/test/ipv6_address_tests.cpp @@ -7,6 +7,7 @@ #include "doctest/doctest.h" +#include // error C2027 from doctest.h:861 TEST_SUITE_BEGIN("ipv6_address"); diff --git a/test/ipv6_endpoint_tests.cpp b/test/ipv6_endpoint_tests.cpp index 00ae1666..89c91dba 100644 --- a/test/ipv6_endpoint_tests.cpp +++ b/test/ipv6_endpoint_tests.cpp @@ -8,6 +8,8 @@ #include "doctest/doctest.h" +#include // error C2027 from doctest.h:861 + TEST_SUITE_BEGIN("ipv6_endpoint"); using namespace cppcoro::net; diff --git a/test/sync_wait_tests.cpp b/test/sync_wait_tests.cpp index 81f22507..7aad72bb 100644 --- a/test/sync_wait_tests.cpp +++ b/test/sync_wait_tests.cpp @@ -16,6 +16,8 @@ #include "doctest/doctest.h" +#include // error C2027 from doctest.h:861 + TEST_SUITE_BEGIN("sync_wait"); static_assert(std::is_same<