diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-13 09:37:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-03-13 09:37:26 +0100 |
| commit | f74349740aaa68b0e06b0da9e614f27238bc8e4e (patch) | |
| tree | 74b55dd5c35289d4a614411339230c7532f61ad9 /src | |
| parent | 2354c1fd781879d215834ebe54661f125fcb324e (diff) | |
Fix warning on macOS.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/dcp_timeline.cc | 2 |
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); |
