Correct the returning type of Connection::waiting()

The returning type of Connection::waiting() should be bool,
but currently it's size_t type.
This commit is contained in:
javeme 2016-07-03 21:35:44 +08:00
parent 17693ef549
commit 5cff314d88
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ public:
* meantime you can already send more instructions over it)
* @return bool
*/
std::size_t waiting() const
bool waiting() const
{
return _implementation.waiting();
}