From c4080003f54c6fe1b5fd19edd23f8cd5f9a9f79a Mon Sep 17 00:00:00 2001 From: Michael Dickens Date: Mon, 22 Jan 2018 14:30:37 -0500 Subject: rpclib: fix use of "boost::asio::strand" -> "boost::asio::io_service::strand" The former was marked as deprecated numerous Boost versions ago and finally was actually removed & replaced in 1.66.0 with a new one with a template API. The version in rpclib need to be updated, and Boost docs say to use the latter. Moving to this usage takes care of this issue. Reviewed-by: Martin Braun --- host/lib/deps/rpclib/include/rpc/detail/server_session.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/deps/rpclib/include/rpc/detail/server_session.h') diff --git a/host/lib/deps/rpclib/include/rpc/detail/server_session.h b/host/lib/deps/rpclib/include/rpc/detail/server_session.h index 963b082ec..754c0879c 100644 --- a/host/lib/deps/rpclib/include/rpc/detail/server_session.h +++ b/host/lib/deps/rpclib/include/rpc/detail/server_session.h @@ -35,7 +35,7 @@ private: private: server* parent_; boost::asio::io_service *io_; - boost::asio::strand read_strand_; + boost::asio::io_service::strand read_strand_; std::shared_ptr disp_; RPCLIB_MSGPACK::unpacker pac_; RPCLIB_MSGPACK::sbuffer output_buf_; -- cgit v1.2.3