std::shared_ptr
[dcpomatic.git] / src / lib / dcp_subtitle_decoder.h
index b53b88dedab7806eaa12b6c8ba6dc6d20641dabe..31b8e6a8e557656e040ab4746a22855074b54869 100644 (file)
@@ -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;
 };