From f74349740aaa68b0e06b0da9e614f27238bc8e4e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 13 Mar 2024 09:37:26 +0100 Subject: [PATCH] Fix warning on macOS. --- src/wx/dcp_timeline.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2