X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftext_view.h;h=f8aba8ffd23a893793e56b467a9e226e8a52c5e6;hb=d52426b1e69f8af2f7d33022ed4e173a8c876afc;hp=d360838a834327ea5063d6d821dd1c6e65774691;hpb=2da4caba7871455c097c0ed940dd6f2332dbda5d;p=dcpomatic.git diff --git a/src/wx/text_view.h b/src/wx/text_view.h index d360838a8..f8aba8ffd 100644 --- a/src/wx/text_view.h +++ b/src/wx/text_view.h @@ -19,13 +19,11 @@ */ #include "lib/content_text.h" -#include "lib/warnings.h" -DCPOMATIC_DISABLE_WARNINGS -#include -DCPOMATIC_ENABLE_WARNINGS +#include +LIBDCP_DISABLE_WARNINGS #include -#include -#include +#include +LIBDCP_ENABLE_WARNINGS class Decoder; class FilmViewer; @@ -36,11 +34,11 @@ class TextView : public wxDialog public: TextView ( wxWindow *, - boost::shared_ptr, - boost::shared_ptr content, - boost::shared_ptr caption, - boost::shared_ptr, - boost::weak_ptr viewer + std::shared_ptr, + std::shared_ptr content, + std::shared_ptr caption, + std::shared_ptr, + std::weak_ptr viewer ); private: @@ -53,6 +51,6 @@ private: boost::optional _frc; boost::optional _last_count; std::vector _start_times; - boost::weak_ptr _content; - boost::weak_ptr _film_viewer; + std::weak_ptr _content; + std::weak_ptr _film_viewer; };