diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-21 22:25:43 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-21 22:25:43 +0000 |
| commit | fe8251bb73765b459042b0fa841dae2d440487fd (patch) | |
| tree | 9a8cbd162915c2e6e4cf868cfc0321bfb1a44ffd /src/lib/content.cc | |
| parent | f67bc45820b4e56f90eecb97ba3b7762c119f9b5 (diff) | |
Remove Film pointer from clone().
Diffstat (limited to 'src/lib/content.cc')
| -rw-r--r-- | src/lib/content.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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> -Content::clone (shared_ptr<const Film> 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<const Film> film) const /* notes is unused here (we assume) */ list<string> 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 |
