X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcontent.cc;h=11bf63f11eb1c8e0761bd8d9491ab2076e61ff2c;hb=fe8251bb73765b459042b0fa841dae2d440487fd;hp=5139eb4cc57557a828dc14f58da879baa573cec4;hpb=f67bc45820b4e56f90eecb97ba3b7762c119f9b5;p=dcpomatic.git 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