You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Some code changed with Clang-Tidy
This commit is contained in:
@@ -83,11 +83,7 @@ bool TCP_Server::is_connection_available() const {
|
||||
return false;
|
||||
|
||||
Error err = _sock->poll(NetSocket::POLL_TYPE_IN, 0);
|
||||
if (err != OK) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return (err == OK);
|
||||
}
|
||||
|
||||
Ref<StreamPeerTCP> TCP_Server::take_connection() {
|
||||
|
||||
Reference in New Issue
Block a user