You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
Replace NULL with nullptr
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
#include "net_socket.h"
|
||||
|
||||
NetSocket *(*NetSocket::_create)() = NULL;
|
||||
NetSocket *(*NetSocket::_create)() = nullptr;
|
||||
|
||||
NetSocket *NetSocket::create() {
|
||||
|
||||
@@ -38,5 +38,5 @@ NetSocket *NetSocket::create() {
|
||||
return _create();
|
||||
|
||||
ERR_PRINT("Unable to create network socket, platform not supported");
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user