You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Replace NULL with nullptr
This commit is contained in:
@@ -56,13 +56,13 @@ public:\
|
||||
static CNAME *create() {\
|
||||
\
|
||||
if (!_create)\
|
||||
return NULL;\
|
||||
return nullptr;\
|
||||
return _create();\
|
||||
}\
|
||||
protected:\
|
||||
|
||||
#define GDCINULL(CNAME) \
|
||||
CNAME *(*CNAME::_create)() = NULL;
|
||||
CNAME *(*CNAME::_create)() = nullptr;
|
||||
|
||||
#define GDCIIMPL(IMPNAME, CNAME) \
|
||||
public:\
|
||||
|
||||
Reference in New Issue
Block a user