Skip to content

Commit 53a1c12

Browse files
committed
fix C2027 from doctest
1 parent e01e4e8 commit 53a1c12

7 files changed

+12
-0
lines changed

test/ip_address_tests.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "doctest/doctest.h"
99

10+
#include <iostream> // error C2027 from doctest.h:861
11+
1012
TEST_SUITE_BEGIN("ip_address");
1113

1214
using cppcoro::net::ip_address;

test/ip_endpoint_tests.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
#include "doctest/doctest.h"
1010

11+
#include <iostream> // error C2027 from doctest.h:861
12+
1113
TEST_SUITE_BEGIN("ip_endpoint");
1214

1315
using namespace cppcoro::net;

test/ipv4_address_tests.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include "doctest/doctest.h"
99

10+
#include <iostream> // error C2027 from doctest.h:861
1011

1112
TEST_SUITE_BEGIN("ipv4_address");
1213

test/ipv4_endpoint_tests.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "doctest/doctest.h"
99

10+
#include <iostream> // error C2027 from doctest.h:861
11+
1012
TEST_SUITE_BEGIN("ip_endpoint");
1113

1214
using namespace cppcoro::net;

test/ipv6_address_tests.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include "doctest/doctest.h"
99

10+
#include <iostream> // error C2027 from doctest.h:861
1011

1112
TEST_SUITE_BEGIN("ipv6_address");
1213

test/ipv6_endpoint_tests.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
#include "doctest/doctest.h"
1010

11+
#include <iostream> // error C2027 from doctest.h:861
12+
1113
TEST_SUITE_BEGIN("ipv6_endpoint");
1214

1315
using namespace cppcoro::net;

test/sync_wait_tests.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
#include "doctest/doctest.h"
1818

19+
#include <iostream> // error C2027 from doctest.h:861
20+
1921
TEST_SUITE_BEGIN("sync_wait");
2022

2123
static_assert(std::is_same<

0 commit comments

Comments
 (0)