From 730cf01ff9104075a28d5045ad89a5173883377d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 27 Dec 2024 16:57:19 -0700 Subject: [PATCH] use nullptr instead of NULL --- gtk2_ardour/midi_view.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/midi_view.cc b/gtk2_ardour/midi_view.cc index b4f6c690bf..623119574d 100644 --- a/gtk2_ardour/midi_view.cc +++ b/gtk2_ardour/midi_view.cc @@ -1700,8 +1700,8 @@ MidiView::note_in_region_range (const std::shared_ptr note, bool& visi void MidiView::update_note (NoteBase* note) { - Note* sus = NULL; - Hit* hit = NULL; + Note* sus = nullptr; + Hit* hit = nullptr; if ((sus = dynamic_cast(note))) { update_sustained (sus); } else if ((hit = dynamic_cast(note))) {