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/image_content.cc | |
| parent | 640a1ef73e575fe891a420dec392dace8b1a0255 (diff) | |
Remove unnecessary Film variable in ContentPart.
Diffstat (limited to 'src/lib/image_content.cc')
| -rw-r--r-- | src/lib/image_content.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/image_content.cc b/src/lib/image_content.cc index ef82b3779..6d1738419 100644 --- a/src/lib/image_content.cc +++ b/src/lib/image_content.cc @@ -41,7 +41,7 @@ using boost::shared_ptr; ImageContent::ImageContent (shared_ptr<const Film> film, boost::filesystem::path p) : Content (film) { - video.reset (new VideoContent (this, film)); + video.reset (new VideoContent (this)); if (boost::filesystem::is_regular_file (p) && valid_image_file (p)) { _paths.push_back (p); @@ -66,7 +66,7 @@ ImageContent::ImageContent (shared_ptr<const Film> film, boost::filesystem::path ImageContent::ImageContent (shared_ptr<const Film> film, cxml::ConstNodePtr node, int version) : Content (film, node) { - video = VideoContent::from_xml (this, film, node, version); + video = VideoContent::from_xml (this, node, version); } string |
