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

@@ -640,7 +640,7 @@ class ServerStatus_test :
++readCount;
// expect the reads to fail for the clients that connected at or
// above the limit. If limit is 0, all reads should succeed
BEAST_EXPECT((limit == 0 || readCount < limit-1) ? (! ec) : ec);
BEAST_EXPECT((limit == 0 || readCount < limit-1) ? (! ec) : bool(ec));
}
}