You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Replace NULL with nullptr
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
static PrintHandlerList *print_handler_list = NULL;
|
||||
static PrintHandlerList *print_handler_list = nullptr;
|
||||
bool _print_line_enabled = true;
|
||||
bool _print_error_enabled = true;
|
||||
|
||||
@@ -50,7 +50,7 @@ void remove_print_handler(PrintHandlerList *p_handler) {
|
||||
|
||||
_global_lock();
|
||||
|
||||
PrintHandlerList *prev = NULL;
|
||||
PrintHandlerList *prev = nullptr;
|
||||
PrintHandlerList *l = print_handler_list;
|
||||
|
||||
while (l) {
|
||||
@@ -69,7 +69,7 @@ void remove_print_handler(PrintHandlerList *p_handler) {
|
||||
//OS::get_singleton()->print("print handler list is %p\n",print_handler_list);
|
||||
|
||||
_global_unlock();
|
||||
ERR_FAIL_COND(l == NULL);
|
||||
ERR_FAIL_COND(l == nullptr);
|
||||
}
|
||||
|
||||
void print_line(String p_string) {
|
||||
|
||||
Reference in New Issue
Block a user