From 969f7a6c163eddb8747b58f5dd97c95b519be62c Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Fri, 22 Nov 2024 18:55:35 +0100 Subject: [PATCH] Fix boost 1.86.0 build 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. --- lib/malloy/core/websocket/connection.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/malloy/core/websocket/connection.hpp b/lib/malloy/core/websocket/connection.hpp index ef3d955..221d5ee 100644 --- a/lib/malloy/core/websocket/connection.hpp +++ b/lib/malloy/core/websocket/connection.hpp @@ -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(done), resource](auto ec, auto ep) mutable { + [this, me, target, done = std::forward(done), resource](auto ec, boost::asio::ip::tcp::resolver::results_type::endpoint_type ep) mutable { if (ec) { done(ec); }