X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftext_panel.cc;h=42dace9ba81e817847ad159a8515507ab425a3a4;hb=3d2154bfb513bc6afbedbbe03bfd791d251e25c0;hp=7bbead30ccb91926004e34e4cf49a1c557ae55b3;hpb=19e47294d1de485a12dccf2c25bec0c8144049e8;p=dcpomatic.git diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc index 7bbead30c..42dace9ba 100644 --- a/src/wx/text_panel.cc +++ b/src/wx/text_panel.cc @@ -18,6 +18,7 @@ */ + #include "check_box.h" #include "content_panel.h" #include "dcp_text_track_dialog.h" @@ -44,17 +45,20 @@ #include "lib/string_text_file_decoder.h" #include "lib/subtitle_analysis.h" #include "lib/text_content.h" +#include +LIBDCP_DISABLE_WARNINGS #include +LIBDCP_ENABLE_WARNINGS -using std::vector; -using std::string; -using std::list; using std::cout; -using std::shared_ptr; -using boost::optional; using std::dynamic_pointer_cast; +using std::list; +using std::shared_ptr; +using std::string; +using std::vector; using boost::bind; +using boost::optional; /** @param t Original text type of the content, if known */ @@ -874,7 +878,7 @@ TextPanel::update_outline_subtitles_in_viewer () } fv->set_outline_subtitles (rect); } else { - fv->set_outline_subtitles (optional >()); + fv->set_outline_subtitles ({}); } }