diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-03-15 13:53:51 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-03-15 13:53:51 +0000 |
| commit | 5d3ebbb2e7844485e8dddd6471209d56b05633ae (patch) | |
| tree | ab1190b8789ebda46be3f2fdde05ce3332241940 /src/lib/content.cc | |
| parent | 16e8c1c7222796246f74153bf294909c3efe57dc (diff) | |
Cope with loading films with now-disabled filters.
Diffstat (limited to 'src/lib/content.cc')
| -rw-r--r-- | src/lib/content.cc | 5 |
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 |
