FIXME: Remove all use of add_child() from xmlpp.
[dcpomatic.git] / src / lib / text_content.h
index 4d4bdc507e478043ca2111c2fa0507d812aaec8d..3122271209deb67e33aea54d6b9e1d3c77e14ce7 100644 (file)
@@ -72,7 +72,7 @@ public:
        TextContent (Content* parent, std::vector<std::shared_ptr<Content>>);
        TextContent (Content* parent, cxml::ConstNodePtr, int version, std::list<std::string>& notes);
 
-       void as_xml (xmlpp::Node *) const;
+       void as_xml(xmlpp::Element*) const;
        std::string identifier () const;
        void take_settings_from (std::shared_ptr<const TextContent> c);