From 21cf573bd6ab7dc8be4931f6105b3001522d8f01 Mon Sep 17 00:00:00 2001 From: orignal Date: Tue, 13 Oct 2020 16:09:35 -0400 Subject: [PATCH] fixed build with boost >= 1.70 --- src/bitcoinrpc.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 39a00d0..fcd004a 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -630,7 +630,11 @@ class AcceptedConnectionImpl : public AcceptedConnection { public: AcceptedConnectionImpl( +#if (BOOST_VERSION >= 107000) // boost >= 1.70 + asio::io_context& io_service, +#else asio::io_service& io_service, +#endif ssl::context &context, bool fUseSSL) : sslStream(io_service, context),