summaryrefslogtreecommitdiff
path: root/core/io/net_socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/net_socket.cpp')
-rw-r--r--core/io/net_socket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/net_socket.cpp b/core/io/net_socket.cpp
index 23edbc7d64..838c674cec 100644
--- a/core/io/net_socket.cpp
+++ b/core/io/net_socket.cpp
@@ -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;
}