diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-08 00:54:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-08 00:54:04 +0100 |
| commit | 64a6a87dd4a3fd43665242b8a8b2b35a675a7839 (patch) | |
| tree | b95db96940d5d5b30405fa1a3a15d0b773ed504b /src/lib/dcp_subtitle_decoder.h | |
| parent | ccc093b159c61e811e24f427860b72343185681e (diff) | |
Fix build with shared_ptr dcp::Subtitle and subclasses.
Diffstat (limited to 'src/lib/dcp_subtitle_decoder.h')
| -rw-r--r-- | src/lib/dcp_subtitle_decoder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/dcp_subtitle_decoder.h b/src/lib/dcp_subtitle_decoder.h index 359d19145..0756a278f 100644 --- a/src/lib/dcp_subtitle_decoder.h +++ b/src/lib/dcp_subtitle_decoder.h @@ -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; }; |
