diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-05-02 00:06:05 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-05-02 00:06:05 +0200 |
| commit | d8a8f4565b167aa23826999448601c8907728e8f (patch) | |
| tree | 8ef72b48a82e5440c838a50beaad0eea7de9c7cd | |
| parent | 09df98b2b47f6f9a754d5ff8a1787da5a07c14b4 (diff) | |
C++11 tidying.
| -rw-r--r-- | src/wx/text_panel.cc | 2 | ||||
| -rw-r--r-- | src/wx/timeline.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc index 8cb4166c1..42dace9ba 100644 --- a/src/wx/text_panel.cc +++ b/src/wx/text_panel.cc @@ -878,7 +878,7 @@ TextPanel::update_outline_subtitles_in_viewer () } fv->set_outline_subtitles (rect); } else { - fv->set_outline_subtitles (optional<dcpomatic::Rect<double> >()); + fv->set_outline_subtitles ({}); } } diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc index d6d7f6e4c..f6ede297d 100644 --- a/src/wx/timeline.cc +++ b/src/wx/timeline.cc @@ -159,7 +159,7 @@ Timeline::paint_labels () _labels_canvas->GetViewStart (&vsx, &vsy); gc->Translate (-vsx * _x_scroll_rate, -vsy * _y_scroll_rate + tracks_y_offset()); - _labels_view->paint (gc, list<dcpomatic::Rect<int> >()); + _labels_view->paint (gc, {}); delete gc; } |
