Replace NULL with nullptr
This commit is contained in:
parent
5f11e15571
commit
95a1400a2a
755 changed files with 5742 additions and 5742 deletions
|
|
@ -212,7 +212,7 @@ void AudioStreamPreviewGenerator::_bind_methods() {
|
|||
ADD_SIGNAL(MethodInfo("preview_updated", PropertyInfo(Variant::INT, "obj_id")));
|
||||
}
|
||||
|
||||
AudioStreamPreviewGenerator *AudioStreamPreviewGenerator::singleton = NULL;
|
||||
AudioStreamPreviewGenerator *AudioStreamPreviewGenerator::singleton = nullptr;
|
||||
|
||||
void AudioStreamPreviewGenerator::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_PROCESS) {
|
||||
|
|
@ -221,7 +221,7 @@ void AudioStreamPreviewGenerator::_notification(int p_what) {
|
|||
if (!E->get().generating) {
|
||||
if (E->get().thread) {
|
||||
Thread::wait_to_finish(E->get().thread);
|
||||
E->get().thread = NULL;
|
||||
E->get().thread = nullptr;
|
||||
}
|
||||
if (!ObjectDB::get_instance(E->key())) { //no longer in use, get rid of preview
|
||||
to_erase.push_back(E->key());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue