Skip to content

Commit

Permalink
Another fix for Boost 1.87 removals
Browse files Browse the repository at this point in the history
  • Loading branch information
bmerry committed Jan 7, 2025
1 parent 6b2ef4f commit 3bdfd57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ boost::asio::ip::address make_address_no_release(
return boost::asio::ip::address();
using boost::asio::ip::udp;
udp::resolver resolver(io_context);
return resolver.resolve(hostname, "", flags)->endpoint().address();
return resolver.resolve(hostname, "", flags).begin()->endpoint().address();
}

void deprecation_warning(const char *msg)
Expand Down

0 comments on commit 3bdfd57

Please sign in to comment.