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 committed 2018-11-26 15:30:48 -08:00
1 parent c0e5d1bd76
commit 5bff4ed8ab
23 files changed
+103 -60

No files matched your search

+1 -1
View File
@@ -622,7 +622,7 @@ public:
return fail(ec, "timer");
// Check if this has been upgraded to Websocket
if(timer_.expires_at() == (std::chrono::steady_clock::time_point::min)())
if(timer_.expiry() == (std::chrono::steady_clock::time_point::min)())
return;
// Verify that the timer really expired since the deadline may have moved.