summaryrefslogtreecommitdiff
path: root/src/lib/content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-03-15 13:53:51 +0000
committerCarl Hetherington <cth@carlh.net>2014-03-15 13:53:51 +0000
commit5d3ebbb2e7844485e8dddd6471209d56b05633ae (patch)
treeab1190b8789ebda46be3f2fdde05ce3332241940 /src/lib/content.cc
parent16e8c1c7222796246f74153bf294909c3efe57dc (diff)
Cope with loading films with now-disabled filters.
Diffstat (limited to 'src/lib/content.cc')
-rw-r--r--src/lib/content.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc
index 1883dfb4a..829468247 100644
--- a/src/lib/content.cc
+++ b/src/lib/content.cc
@@ -195,7 +195,10 @@ Content::clone () const
xmlpp::Document doc;
xmlpp::Node* node = doc.create_root_node ("Content");
as_xml (node);
- return content_factory (film, cxml::NodePtr (new cxml::Node (node)), Film::current_state_version);
+
+ /* notes is unused here (we assume) */
+ list<string> notes;
+ return content_factory (film, cxml::NodePtr (new cxml::Node (node)), Film::current_state_version, notes);
}
string