Fix compiler warning

This commit is contained in:
Benjamin Sergeant 2019-09-05 20:29:14 -07:00
parent 24b2475b11
commit eeefc9cf4b
2 changed files with 2 additions and 2 deletions

View File

@ -242,7 +242,7 @@ namespace ix
return true; return true;
} }
bool RedisClient::stop() void RedisClient::stop()
{ {
_stop = true; _stop = true;
} }

View File

@ -32,7 +32,7 @@ namespace ix
const OnRedisSubscribeResponseCallback& responseCallback, const OnRedisSubscribeResponseCallback& responseCallback,
const OnRedisSubscribeCallback& callback); const OnRedisSubscribeCallback& callback);
bool stop(); void stop();
private: private:
std::string writeString(const std::string& str); std::string writeString(const std::string& str);