C++11 tidying.
authorCarl Hetherington <cth@carlh.net>
Fri, 3 Dec 2021 16:16:48 +0000 (17:16 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 3 Dec 2021 20:23:07 +0000 (21:23 +0100)
src/wx/timeline_time_axis_view.cc

index cd0b97d193fdc21c1d8e8b2c35dc2d43221559a6..4dd4803848a90ffa838aae254e4f8d178efdd24c 100644 (file)
@@ -64,7 +64,7 @@ TimelineTimeAxisView::do_paint (wxGraphicsContext* gc, list<dcpomatic::Rect<int>
 
        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);