You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2018/05/16 18:15:37 UTC

[incubator-pulsar] branch master updated: Fix build with boost >= 1.65 (#1783)

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 86fb8a3  Fix build with boost >= 1.65 (#1783)
86fb8a3 is described below

commit 86fb8a3b3b801030b79460a2d3e88d79347b98c2
Author: Matteo Merli <mm...@apache.org>
AuthorDate: Wed May 16 11:15:33 2018 -0700

    Fix build with boost >= 1.65 (#1783)
---
 pulsar-client-cpp/lib/ClientConnection.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pulsar-client-cpp/lib/ClientConnection.cc b/pulsar-client-cpp/lib/ClientConnection.cc
index fc0f611..f7b6b50 100644
--- a/pulsar-client-cpp/lib/ClientConnection.cc
+++ b/pulsar-client-cpp/lib/ClientConnection.cc
@@ -141,7 +141,7 @@ ClientConnection::ClientConnection(const std::string& logicalAddress, const std:
         using namespace boost::filesystem;
 
 #if BOOST_VERSION >= 105400
-        boost::asio::ssl::context ctx(executor_->io_service_, boost::asio::ssl::context::tlsv12_client);
+        boost::asio::ssl::context ctx(boost::asio::ssl::context::tlsv12_client);
 #else
         boost::asio::ssl::context ctx(executor_->io_service_, boost::asio::ssl::context::tlsv1_client);
 #endif

-- 
To stop receiving notification emails like this one, please contact
mmerli@apache.org.