From: Carl Hetherington Date: Fri, 3 Dec 2021 16:16:48 +0000 (+0100) Subject: C++11 tidying. X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=a1e70f87e43e5efe520d5ab9b384437e375567e0;p=dcpomatic.git C++11 tidying. --- diff --git a/src/wx/timeline_time_axis_view.cc b/src/wx/timeline_time_axis_view.cc index cd0b97d19..4dd480384 100644 --- a/src/wx/timeline_time_axis_view.cc +++ b/src/wx/timeline_time_axis_view.cc @@ -64,7 +64,7 @@ TimelineTimeAxisView::do_paint (wxGraphicsContext* gc, list int y = _y * _timeline.pixels_per_track() + 32; - wxGraphicsPath path = gc->CreatePath (); + auto path = gc->CreatePath (); path.MoveToPoint (0, y); path.AddLineToPoint (_timeline.width(), y); gc->StrokePath (path);