From: Carl Hetherington Date: Sun, 1 May 2022 22:06:05 +0000 (+0200) Subject: C++11 tidying. X-Git-Tag: v2.16.11~39 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=d8a8f4565b167aa23826999448601c8907728e8f C++11 tidying. --- 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 >()); + 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 >()); + _labels_view->paint (gc, {}); delete gc; }