Skip to content

Commit

Permalink
Fix boost 1.86.0 build
Browse files Browse the repository at this point in the history
Due to a change in boost.asio 1.86.0, a template deduction is no longer working. Therefore, we replace auto with the concrete type that we want.
  • Loading branch information
Tectu committed Nov 22, 2024
1 parent 0ca2a0c commit 969f7a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/malloy/core/websocket/connection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ namespace malloy::websocket
// Make the connection on the IP address we get from a lookup
sock.async_connect(
target,
[this, me, target, done = std::forward<Callback>(done), resource](auto ec, auto ep) mutable {
[this, me, target, done = std::forward<Callback>(done), resource](auto ec, boost::asio::ip::tcp::resolver::results_type::endpoint_type ep) mutable {
if (ec) {
done(ec);
}
Expand Down

0 comments on commit 969f7a6

Please sign in to comment.