13
0

use nullptr in initialization instead of 0

This commit is contained in:
Paul Davis 2024-11-10 22:04:08 -07:00
parent 200fe85ee2
commit d2a3450e2f

View File

@ -110,7 +110,7 @@ AutomationTimeAxisView::AutomationTimeAxisView (
, _automatable (a) , _automatable (a)
, _parameter (p) , _parameter (p)
, _base_rect (new ArdourCanvas::Rectangle (_canvas_display)) , _base_rect (new ArdourCanvas::Rectangle (_canvas_display))
, _view (show_regions ? new AutomationStreamView (*this) : 0) , _view (show_regions ? new AutomationStreamView (*this) : nullptr)
, auto_dropdown () , auto_dropdown ()
, _show_regions (show_regions) , _show_regions (show_regions)
, _velocity_mode (VelocityModeLollipops) , _velocity_mode (VelocityModeLollipops)