diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:16:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 22:48:29 +0100 |
| commit | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch) | |
| tree | e56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/lib/dcp_subtitle_decoder.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/lib/dcp_subtitle_decoder.h')
| -rw-r--r-- | src/lib/dcp_subtitle_decoder.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/dcp_subtitle_decoder.h b/src/lib/dcp_subtitle_decoder.h index b53b88ded..31b8e6a8e 100644 --- a/src/lib/dcp_subtitle_decoder.h +++ b/src/lib/dcp_subtitle_decoder.h @@ -27,7 +27,7 @@ class DCPSubtitleContent; class DCPSubtitleDecoder : public DCPSubtitle, public Decoder { public: - DCPSubtitleDecoder (boost::shared_ptr<const Film> film, boost::shared_ptr<const DCPSubtitleContent>); + DCPSubtitleDecoder (std::shared_ptr<const Film> film, std::shared_ptr<const DCPSubtitleContent>); bool pass (); void seek (dcpomatic::ContentTime time, bool accurate); @@ -35,10 +35,10 @@ public: std::vector<dcpomatic::FontData> fonts () const; private: - dcpomatic::ContentTimePeriod content_time_period (boost::shared_ptr<dcp::Subtitle> s) const; + dcpomatic::ContentTimePeriod content_time_period (std::shared_ptr<dcp::Subtitle> s) const; - std::list<boost::shared_ptr<dcp::Subtitle> > _subtitles; - std::list<boost::shared_ptr<dcp::Subtitle> >::const_iterator _next; + std::list<std::shared_ptr<dcp::Subtitle> > _subtitles; + std::list<std::shared_ptr<dcp::Subtitle> >::const_iterator _next; std::vector<dcpomatic::FontData> _fonts; }; |
