Skip to content

Commit

Permalink
Fix compilation with upcoming Boost 1.87.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m committed Nov 20, 2024
1 parent 3614af7 commit 7b064c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- ADDED: Add support for opposite approach request parameter. [#6842](https://github.com/Project-OSRM/osrm-backend/pull/6842)
- ADDED: Add support for accessing edge flags in `process_segment` [#6658](https://github.com/Project-OSRM/osrm-backend/pull/6658)
- Build:
- CHANGED: Fix compilation with upcoming Boost 1.87.0 [#7073](https://github.com/Project-OSRM/osrm-backend/pull/7073)
- CHANGED: Upgrade clang-format to version 15. [#6919](https://github.com/Project-OSRM/osrm-backend/pull/6919)
- CHANGED: Use Debian Bookworm as base Docker image [#6904](https://github.com/Project-OSRM/osrm-backend/pull/6904)
- CHANGED: Upgrade CI actions to latest versions [#6893](https://github.com/Project-OSRM/osrm-backend/pull/6893)
Expand Down
3 changes: 1 addition & 2 deletions include/server/server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ class Server
const auto port_string = std::to_string(port);

boost::asio::ip::tcp::resolver resolver(io_context);
boost::asio::ip::tcp::resolver::query query(address, port_string);
boost::asio::ip::tcp::endpoint endpoint = *resolver.resolve(query);
boost::asio::ip::tcp::endpoint endpoint = *resolver.resolve(address, port_string).begin();

acceptor.open(endpoint.protocol());
#ifdef SO_REUSEPORT
Expand Down

0 comments on commit 7b064c3

Please sign in to comment.