Fix warning on macOS.
authorCarl Hetherington <cth@carlh.net>
Wed, 13 Mar 2024 08:37:26 +0000 (09:37 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 13 Mar 2024 08:37:26 +0000 (09:37 +0100)
src/wx/dcp_timeline.cc

index 3974997eb2cee541b8d137f3dae4b40c2c7afe63..119d07b0337a07e1a42bd119bdbc7ad627f0487f 100644 (file)
@@ -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);