From 5cff314d8876e69f26a51812f02bd1ccc99b059a Mon Sep 17 00:00:00 2001 From: javeme Date: Sun, 3 Jul 2016 21:35:44 +0800 Subject: [PATCH] Correct the returning type of Connection::waiting() The returning type of Connection::waiting() should be bool, but currently it's size_t type. --- include/connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/connection.h b/include/connection.h index abe19e2..18215f4 100644 --- a/include/connection.h +++ b/include/connection.h @@ -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(); }