From fe8251bb73765b459042b0fa841dae2d440487fd Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 21 Nov 2018 22:25:43 +0000 Subject: Remove Film pointer from clone(). --- src/lib/content.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/content.cc') diff --git a/src/lib/content.cc b/src/lib/content.cc index 5139eb4cc..11bf63f11 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -270,7 +270,7 @@ Content::set_trim_end (ContentTime t) shared_ptr -Content::clone (shared_ptr film) const +Content::clone () const { /* This is a bit naughty, but I can't think of a compelling reason not to do it ... */ xmlpp::Document doc; @@ -279,7 +279,7 @@ Content::clone (shared_ptr film) const /* notes is unused here (we assume) */ list notes; - return content_factory (film, cxml::NodePtr(new cxml::Node(node)), Film::current_state_version, notes); + return content_factory (cxml::NodePtr(new cxml::Node(node)), Film::current_state_version, notes); } string -- cgit v1.2.3