summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-12-03 17:16:48 +0100
committerCarl Hetherington <cth@carlh.net>2021-12-03 21:23:07 +0100
commita1e70f87e43e5efe520d5ab9b384437e375567e0 (patch)
treee9bbbff8a46b0b6380a93e44804a847e62f0d452
parent211d9b077e7713cb1ca033fc88e200719a913a67 (diff)
C++11 tidying.
-rw-r--r--src/wx/timeline_time_axis_view.cc2
1 files changed, 1 insertions, 1 deletions
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<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);