use nullptr in initialization instead of 0
This commit is contained in:
parent
200fe85ee2
commit
d2a3450e2f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user