Allow polling with a timeout

This commit is contained in:
Matias Fontanini
2016-10-08 10:08:15 -07:00
parent 8361e4ca1e
commit a46896790b
6 changed files with 38 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ public:
*
* \param timeout The timeout to be set
*/
void set_timeout(const std::chrono::milliseconds& timeout);
void set_timeout(std::chrono::milliseconds timeout);
/**
* \brief Adds one or more brokers to this handle's broker list