Remove ssize_t (#10664)

This commit is contained in:
minggo
2022-04-07 17:17:18 +08:00
committed by GitHub
parent 4cf2a9c594
commit ef013fc8c3
25 changed files with 178 additions and 215 deletions
+1 -3
View File
@@ -582,9 +582,7 @@ void SIOClientImpl::connectToEndpoint(const ccstd::string &endpoint) {
}
void SIOClientImpl::disconnectFromEndpoint(const ccstd::string &endpoint) {
size_t clientCount = _clients.size();
if (clientCount == 1 || endpoint == "/") {
if (_clients.size() == 1 || endpoint == "/") {
CC_LOG_INFO("SIOClientImpl::disconnectFromEndpoint out of endpoints, checking for disconnect");
if (_connected) {