Assorted tidying.
[dcpomatic.git] / src / lib / string_text_file_content.cc
index 25d59ec61a6744d6538160fc3c4d84a564620501..2ce343f2edb4d700eabff7c8c8916aa52bf1a4af 100644 (file)
@@ -34,6 +34,7 @@
 
 
 using std::cout;
+using std::list;
 using std::make_shared;
 using std::shared_ptr;
 using std::string;
@@ -48,11 +49,11 @@ StringTextFileContent::StringTextFileContent (boost::filesystem::path path)
 }
 
 
-StringTextFileContent::StringTextFileContent (cxml::ConstNodePtr node, int version)
+StringTextFileContent::StringTextFileContent (cxml::ConstNodePtr node, int version, list<string>& notes)
        : Content (node)
        , _length (node->number_child<ContentTime::Type>("Length"))
 {
-       text = TextContent::from_xml (this, node, version);
+       text = TextContent::from_xml (this, node, version, notes);
 }