You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Replace NULL with nullptr
This commit is contained in:
@@ -57,8 +57,8 @@ void add_item(const String &p_project_path, const String &p_item_type, const Str
|
||||
Variant item_type = p_item_type;
|
||||
Variant include = p_include;
|
||||
const Variant *args[3] = { &project_path, &item_type, &include };
|
||||
MonoException *exc = NULL;
|
||||
klass->get_method("AddItemToProjectChecked", 3)->invoke(NULL, args, &exc);
|
||||
MonoException *exc = nullptr;
|
||||
klass->get_method("AddItemToProjectChecked", 3)->invoke(nullptr, args, &exc);
|
||||
|
||||
if (exc) {
|
||||
GDMonoUtils::debug_print_unhandled_exception(exc);
|
||||
|
||||
Reference in New Issue
Block a user