You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Replace NULL with nullptr
This commit is contained in:
@@ -265,7 +265,7 @@ void DocData::generate(bool p_basic_types) {
|
||||
|
||||
List<PropertyInfo>::Element *EO = own_properties.front();
|
||||
for (List<PropertyInfo>::Element *E = properties.front(); E; E = E->next()) {
|
||||
bool inherited = EO == NULL;
|
||||
bool inherited = EO == nullptr;
|
||||
if (EO && EO->get() == E->get()) {
|
||||
inherited = false;
|
||||
EO = EO->next();
|
||||
@@ -534,7 +534,7 @@ void DocData::generate(bool p_basic_types) {
|
||||
c.name = cname;
|
||||
|
||||
Callable::CallError cerror;
|
||||
Variant v = Variant::construct(Variant::Type(i), NULL, 0, cerror);
|
||||
Variant v = Variant::construct(Variant::Type(i), nullptr, 0, cerror);
|
||||
|
||||
List<MethodInfo> method_list;
|
||||
v.get_method_list(&method_list);
|
||||
|
||||
Reference in New Issue
Block a user