Replace NULL with nullptr
This commit is contained in:
parent
5f11e15571
commit
95a1400a2a
755 changed files with 5742 additions and 5742 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue