Remove unused strands in server examples

This commit is contained in:
Peter Jankuliak
2017-09-22 11:05:20 +02:00
committed by Vinnie Falco
parent c81558e38b
commit fa4df7eb60
11 changed files with 8 additions and 26 deletions

View File

@@ -128,7 +128,6 @@ class listener
: public boost::asio::coroutine
, public std::enable_shared_from_this<listener>
{
boost::asio::io_service::strand strand_;
tcp::acceptor acceptor_;
tcp::socket socket_;
@@ -136,8 +135,7 @@ public:
listener(
boost::asio::io_service& ios,
tcp::endpoint endpoint)
: strand_(ios)
, acceptor_(ios)
: acceptor_(ios)
, socket_(ios)
{
boost::system::error_code ec;