13
0

prefer nullptr to 0

This commit is contained in:
Paul Davis 2024-06-11 15:12:02 -06:00
parent 71f946f3b3
commit dd211c4329

View File

@ -6825,7 +6825,7 @@ EditorRubberbandSelectDrag::deselect_things ()
NoteCreateDrag::NoteCreateDrag (EditingContext& ec, ArdourCanvas::Item* i, MidiView* mv) NoteCreateDrag::NoteCreateDrag (EditingContext& ec, ArdourCanvas::Item* i, MidiView* mv)
: Drag (ec, i, Temporal::BeatTime, ec.get_trackview_group()) : Drag (ec, i, Temporal::BeatTime, ec.get_trackview_group())
, _midi_view (mv) , _midi_view (mv)
, _drag_rect (0) , _drag_rect (nullptr)
{ {
_note[0] = _note[1] = timepos_t (Temporal::BeatTime); _note[0] = _note[1] = timepos_t (Temporal::BeatTime);
} }