You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Moved member variables to initializer list
This commit is contained in:
@@ -167,10 +167,10 @@ void NetSocketPosix::cleanup() {
|
||||
#endif
|
||||
}
|
||||
|
||||
NetSocketPosix::NetSocketPosix() {
|
||||
_sock = SOCK_EMPTY;
|
||||
_ip_type = IP::TYPE_NONE;
|
||||
_is_stream = false;
|
||||
NetSocketPosix::NetSocketPosix() :
|
||||
_sock(SOCK_EMPTY),
|
||||
_ip_type(IP::TYPE_NONE),
|
||||
_is_stream(false) {
|
||||
}
|
||||
|
||||
NetSocketPosix::~NetSocketPosix() {
|
||||
|
||||
Reference in New Issue
Block a user