Codechange: replace x.size() != 0 with !x.empty()
This commit is contained in:
@@ -50,7 +50,7 @@ bool NetworkUDPSocketHandler::Listen()
|
||||
addr.Listen(SOCK_DGRAM, &this->sockets);
|
||||
}
|
||||
|
||||
return this->sockets.size() != 0;
|
||||
return !this->sockets.empty();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user