summaryrefslogtreecommitdiff
path: root/src/wx/dcp_timeline.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-03-13 09:37:26 +0100
committerCarl Hetherington <cth@carlh.net>2024-03-13 09:37:26 +0100
commitf74349740aaa68b0e06b0da9e614f27238bc8e4e (patch)
tree74b55dd5c35289d4a614411339230c7532f61ad9 /src/wx/dcp_timeline.cc
parent2354c1fd781879d215834ebe54661f125fcb324e (diff)
Fix warning on macOS.
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);