diff --git a/include/cql/cql_builder.hpp b/include/cql/cql_builder.hpp index 476e41c14..e419e3790 100644 --- a/include/cql/cql_builder.hpp +++ b/include/cql/cql_builder.hpp @@ -437,7 +437,7 @@ class CQL_EXPORT cql_builder_t : boost::shared_ptr ssl_context( new boost::asio::ssl::context( #if BOOST_VERSION <= 104800 - _io_service, + *_io_service.get(), #endif boost::asio::ssl::context::sslv23)); _ssl_context = ssl_context;