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

@ -159,7 +159,6 @@ public:
class listener : public std::enable_shared_from_this<listener>
{
ssl::context& ctx_;
boost::asio::io_service::strand strand_;
tcp::acceptor acceptor_;
tcp::socket socket_;
@ -169,7 +168,6 @@ public:
ssl::context& ctx,
tcp::endpoint endpoint)
: ctx_(ctx)
, strand_(ios)
, acceptor_(ios)
, socket_(ios)
{