Replace NULL with nullptr
This commit is contained in:
parent
5f11e15571
commit
95a1400a2a
755 changed files with 5742 additions and 5742 deletions
|
|
@ -99,7 +99,7 @@ void EditorResourcePreviewGenerator::_bind_methods() {
|
|||
EditorResourcePreviewGenerator::EditorResourcePreviewGenerator() {
|
||||
}
|
||||
|
||||
EditorResourcePreview *EditorResourcePreview::singleton = NULL;
|
||||
EditorResourcePreview *EditorResourcePreview::singleton = nullptr;
|
||||
|
||||
void EditorResourcePreview::_thread_func(void *ud) {
|
||||
|
||||
|
|
@ -469,12 +469,12 @@ void EditorResourcePreview::stop() {
|
|||
}
|
||||
Thread::wait_to_finish(thread);
|
||||
memdelete(thread);
|
||||
thread = NULL;
|
||||
thread = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
EditorResourcePreview::EditorResourcePreview() {
|
||||
thread = NULL;
|
||||
thread = nullptr;
|
||||
singleton = this;
|
||||
order = 0;
|
||||
exit = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue