1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-01-17 02:00:57 +00:00

fixed build with boost >= 1.70

This commit is contained in:
orignal 2020-10-13 16:09:35 -04:00
parent f9a159051d
commit 21cf573bd6

View File

@ -630,7 +630,11 @@ class AcceptedConnectionImpl : public AcceptedConnection
{ {
public: public:
AcceptedConnectionImpl( AcceptedConnectionImpl(
#if (BOOST_VERSION >= 107000) // boost >= 1.70
asio::io_context& io_service,
#else
asio::io_service& io_service, asio::io_service& io_service,
#endif
ssl::context &context, ssl::context &context,
bool fUseSSL) : bool fUseSSL) :
sslStream(io_service, context), sslStream(io_service, context),