diff options
author | anon <anon [at] nowhere> | 2021-04-08 11:45:27 +0000 |
---|---|---|
committer | anon <anon [at] nowhere> | 2021-04-08 11:45:27 +0000 |
commit | 73d3b00b35a6fd10aedbde58453173e3087c7a1c (patch) | |
tree | d3d9d8e7f536288a7f92f5cef2ffd4be2212ee70 /tests | |
parent | Merge pull request #7650 (diff) | |
download | monero-73d3b00b35a6fd10aedbde58453173e3087c7a1c.tar.xz |
unit_tests: fix boost 1.58 compatibility
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit_tests/node_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/node_server.cpp b/tests/unit_tests/node_server.cpp index 8d5c784eb..775feace8 100644 --- a/tests/unit_tests/node_server.cpp +++ b/tests/unit_tests/node_server.cpp @@ -351,7 +351,7 @@ TEST(cryptonote_protocol_handler, race_condition) acceptor.set_option(boost::asio::ip::tcp::acceptor::reuse_address(true)); acceptor.bind(endpoint, ec); 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); out->socket().open(endpoint.protocol(), ec); EXPECT_EQ(ec.value(), 0); |