Fix boost::error_code conversions to int:

* Boost 1.67 removes boost::error_code automatic conversions to int
This commit is contained in:
seelabs
2018-03-12 09:19:48 -04:00
parent 3730d46dad
commit 5549ff4c8a
2 changed files with 2 additions and 2 deletions

View File

@@ -242,7 +242,7 @@ public:
// If we get an error message back, we don't return any
// results that we may have gotten.
if (ec == 0)
if (!ec)
{
while (iter != boost::asio::ip::tcp::resolver::iterator())
{