mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 01:18:53 +00:00
unit_tests: fix boost 1.58 compatibility
This commit is contained in:
parent
f6279a633d
commit
73d3b00b35
@ -351,7 +351,7 @@ TEST(cryptonote_protocol_handler, race_condition)
|
|||||||
acceptor.set_option(boost::asio::ip::tcp::acceptor::reuse_address(true));
|
acceptor.set_option(boost::asio::ip::tcp::acceptor::reuse_address(true));
|
||||||
acceptor.bind(endpoint, ec);
|
acceptor.bind(endpoint, ec);
|
||||||
EXPECT_EQ(ec.value(), 0);
|
EXPECT_EQ(ec.value(), 0);
|
||||||
acceptor.listen(boost::asio::socket_base::max_listen_connections, ec);
|
acceptor.listen(boost::asio::socket_base::max_connections, ec);
|
||||||
EXPECT_EQ(ec.value(), 0);
|
EXPECT_EQ(ec.value(), 0);
|
||||||
out->socket().open(endpoint.protocol(), ec);
|
out->socket().open(endpoint.protocol(), ec);
|
||||||
EXPECT_EQ(ec.value(), 0);
|
EXPECT_EQ(ec.value(), 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user