diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-05-13 14:43:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-18 11:50:29 +0100 |
| commit | 29fe2d3a4c347e15b987f9e61e56d22a21d4678f (patch) | |
| tree | 910b7afc8a109733edd76befc0d17e9be902fb1b /src/lib/subtitle_content.h | |
| parent | 640a1ef73e575fe891a420dec392dace8b1a0255 (diff) | |
Remove unnecessary Film variable in ContentPart.
Diffstat (limited to 'src/lib/subtitle_content.h')
| -rw-r--r-- | src/lib/subtitle_content.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/subtitle_content.h b/src/lib/subtitle_content.h index db2286339..5b8f9fc71 100644 --- a/src/lib/subtitle_content.h +++ b/src/lib/subtitle_content.h @@ -46,8 +46,8 @@ public: class SubtitleContent : public ContentPart { public: - SubtitleContent (Content* parent, boost::shared_ptr<const Film>); - SubtitleContent (Content* parent, boost::shared_ptr<const Film>, std::vector<boost::shared_ptr<Content> >); + SubtitleContent (Content* parent); + SubtitleContent (Content* parent, std::vector<boost::shared_ptr<Content> >); void as_xml (xmlpp::Node *) const; std::string identifier () const; @@ -128,7 +128,7 @@ public: return _outline_colour; } - static boost::shared_ptr<SubtitleContent> from_xml (Content* parent, boost::shared_ptr<const Film>, cxml::ConstNodePtr, int version); + static boost::shared_ptr<SubtitleContent> from_xml (Content* parent, cxml::ConstNodePtr, int version); protected: /** subtitle language (e.g. "German") or empty if it is not known */ @@ -137,7 +137,7 @@ protected: private: friend struct ffmpeg_pts_offset_test; - SubtitleContent (Content* parent, boost::shared_ptr<const Film>, cxml::ConstNodePtr, int version); + SubtitleContent (Content* parent, cxml::ConstNodePtr, int version); void font_changed (); void connect_to_fonts (); |
