fix: Remove accidental change for boost 1.87
This commit is contained in:
parent
65b2871825
commit
9384ccab82
@ -52,7 +52,8 @@ class Server
|
||||
const auto port_string = std::to_string(port);
|
||||
|
||||
boost::asio::ip::tcp::resolver resolver(io_context);
|
||||
boost::asio::ip::tcp::endpoint endpoint = *resolver.resolve(address, port_string).begin();
|
||||
boost::asio::ip::tcp::resolver::query query(address, port_string);
|
||||
boost::asio::ip::tcp::endpoint endpoint = *resolver.resolve(query);
|
||||
|
||||
acceptor.open(endpoint.protocol());
|
||||
#ifdef SO_REUSEPORT
|
||||
|
Loading…
Reference in New Issue
Block a user