Tidy up warnings and deprecated usage:

fix #1290

* BOOST_ASIO_NO_DEPRECATED=1 is now set
* Fix various warnings from the Boost regression test matrix
* Fix a bug in advanced servers when checking for a timeout
This commit is contained in:
Vinnie Falco
2018-11-26 15:30:48 -08:00
parent c0e5d1bd76
commit 5bff4ed8ab
23 changed files with 103 additions and 60 deletions
+1 -3
View File
@@ -98,14 +98,12 @@ public:
: public std::enable_shared_from_this<session>
{
boost::asio::ip::tcp::socket socket_;
std::ostream& log_;
public:
session(
boost::asio::ip::tcp::socket sock,
std::ostream& log)
std::ostream&)
: socket_(std::move(sock))
, log_(log)
{
}