From d2a3450e2f57336d81153b9a563b061883eafb60 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 10 Nov 2024 22:04:08 -0700 Subject: [PATCH] use nullptr in initialization instead of 0 --- gtk2_ardour/automation_time_axis.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index e2b7342b9c..bf12fa4a04 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -110,7 +110,7 @@ AutomationTimeAxisView::AutomationTimeAxisView ( , _automatable (a) , _parameter (p) , _base_rect (new ArdourCanvas::Rectangle (_canvas_display)) - , _view (show_regions ? new AutomationStreamView (*this) : 0) + , _view (show_regions ? new AutomationStreamView (*this) : nullptr) , auto_dropdown () , _show_regions (show_regions) , _velocity_mode (VelocityModeLollipops)