summaryrefslogtreecommitdiff
path: root/src/wx/dcp_timeline.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/dcp_timeline.cc')
-rw-r--r--src/wx/dcp_timeline.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/dcp_timeline.cc b/src/wx/dcp_timeline.cc
index 3974997eb..119d07b03 100644
--- a/src/wx/dcp_timeline.cc
+++ b/src/wx/dcp_timeline.cc
@@ -369,7 +369,7 @@ DCPTimeline::paint_reels(wxGraphicsContext* gc)
auto const y = reel_marker_y_pos + DCPTimelineReelMarkerView::HEIGHT * 3 / 4;
- auto paint_reel = [gc, y](double from, double to, int index) {
+ auto paint_reel = [gc](double from, double to, int index) {
auto path = gc->CreatePath();
path.MoveToPoint(from, y);
path.AddLineToPoint(to, y);