X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ftext_panel.cc;h=42dace9ba81e817847ad159a8515507ab425a3a4;hp=a841d1654db52f9175f8b2263a9b125c7b9e57aa;hb=d8a8f4565b167aa23826999448601c8907728e8f;hpb=b9a1ad3df5f9d85fb7439efd93fede72b9b078af diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc index a841d1654..42dace9ba 100644 --- a/src/wx/text_panel.cc +++ b/src/wx/text_panel.cc @@ -45,10 +45,10 @@ #include "lib/string_text_file_decoder.h" #include "lib/subtitle_analysis.h" #include "lib/text_content.h" -#include "lib/warnings.h" -DCPOMATIC_DISABLE_WARNINGS +#include +LIBDCP_DISABLE_WARNINGS #include -DCPOMATIC_ENABLE_WARNINGS +LIBDCP_ENABLE_WARNINGS using std::cout; @@ -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 ({}); } }