summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wx/text_panel.cc2
-rw-r--r--src/wx/timeline.cc2
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;
}