Fix build with shared_ptr dcp::Subtitle and subclasses.
[dcpomatic.git] / src / lib / dcp_subtitle_decoder.h
index 359d191457379f8713ed9ee78035c3ac0a6b0a42..0756a278f4b475212e2313b2efe40c2dbf76d7d1 100644 (file)
@@ -32,8 +32,8 @@ public:
        void seek (ContentTime time, bool accurate);
 
 private:
-       ContentTimePeriod content_time_period (dcp::SubtitleString s) const;
+       ContentTimePeriod content_time_period (boost::shared_ptr<dcp::Subtitle> s) const;
 
-       std::list<dcp::SubtitleString> _subtitles;
-       std::list<dcp::SubtitleString>::const_iterator _next;
+       std::list<boost::shared_ptr<dcp::Subtitle> > _subtitles;
+       std::list<boost::shared_ptr<dcp::Subtitle> >::const_iterator _next;
 };