mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Support boost 1.73
This commit is contained in:
@@ -25,9 +25,10 @@
|
||||
#include <ripple/core/Config.h>
|
||||
#include <ripple/net/HTTPClientSSLContext.h>
|
||||
#include <boost/asio/ssl.hpp>
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/format.hpp>
|
||||
|
||||
#include <functional>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
namespace detail {
|
||||
@@ -98,10 +99,8 @@ WorkSSL::onConnect(error_code const& ec)
|
||||
|
||||
stream_.async_handshake(
|
||||
boost::asio::ssl::stream_base::client,
|
||||
strand_.wrap(boost::bind(
|
||||
&WorkSSL::onHandshake,
|
||||
shared_from_this(),
|
||||
boost::asio::placeholders::error)));
|
||||
strand_.wrap(std::bind(
|
||||
&WorkSSL::onHandshake, shared_from_this(), std::placeholders::_1)));
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user