From 29fe2d3a4c347e15b987f9e61e56d22a21d4678f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 13 May 2016 14:43:27 +0100 Subject: Remove unnecessary Film variable in ContentPart. --- src/lib/image_content.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/image_content.cc') 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 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 film, boost::filesystem::path ImageContent::ImageContent (shared_ptr 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 -- cgit v1.2.3