Skip to content

Commit 42b6387

Browse files
Fixes for MSVC 2022 issues.
Closes boostorg#2653.
1 parent 0e5cf9f commit 42b6387

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/beast/http/message_generator.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ class message_generator_test : public beast::unit_test::suite
102102

103103
// only rvalue refs
104104
BOOST_STATIC_ASSERT(
105-
not std::is_constructible<
105+
! std::is_constructible<
106106
message_generator,
107107
message<true, string_body>&>::value);
108108
BOOST_STATIC_ASSERT(
109-
not std::is_constructible<
109+
! std::is_constructible<
110110
message_generator,
111111
message<true, string_body> const&>::value);
112112

test/beast/http/read.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ class read_test
386386
net::io_context ioc;
387387
test::stream ts{ioc,
388388
"GET / HTTP/1.1\r\n\r\n"};
389+
ts.close(); // make sure the read completes
389390
BEAST_EXPECT(handler::count() == 0);
390391
multi_buffer b;
391392
request<dynamic_body> m;

0 commit comments

Comments
 (0)