From dd211c4329f0e772fc70e49b84c7d66e7f876504 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 11 Jun 2024 15:12:02 -0600 Subject: [PATCH] prefer nullptr to 0 --- gtk2_ardour/editor_drag.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 7da83bf12c..2775e4ee40 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -6825,7 +6825,7 @@ EditorRubberbandSelectDrag::deselect_things () NoteCreateDrag::NoteCreateDrag (EditingContext& ec, ArdourCanvas::Item* i, MidiView* mv) : Drag (ec, i, Temporal::BeatTime, ec.get_trackview_group()) , _midi_view (mv) - , _drag_rect (0) + , _drag_rect (nullptr) { _note[0] = _note[1] = timepos_t (Temporal::BeatTime); }