updated build system

This commit is contained in:
Scott E. Graves 2024-12-16 09:53:01 -06:00
parent 595d638ee0
commit f5668c82a7

View File

@ -132,8 +132,8 @@ auto get_next_available_port(std::uint16_t first_port,
boost::system::error_code error_code{};
while (first_port != 0U) {
io_context svc{};
tcp::acceptor acceptor(svc);
io_context ctx{};
tcp::acceptor acceptor(ctx);
acceptor.open(tcp::v4(), error_code) ||
acceptor.bind({tcp::v4(), first_port}, error_code);
if (not error_code) {