summaryrefslogtreecommitdiff
path: root/src/cxml.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-22 00:23:47 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-22 00:23:47 +0100
commita0ca8f600cd5bbf3b942b276fc870083de4e1b0a (patch)
treef910c0174b753882f302ca1a23b065189a4bcf9d /src/cxml.h
parent42ae34df3c11483a798bfa01a31b9494fc8d8315 (diff)
Add ns_prefix parameter to add_child().
Diffstat (limited to 'src/cxml.h')
-rw-r--r--src/cxml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cxml.h b/src/cxml.h
index 4176622..e613039 100644
--- a/src/cxml.h
+++ b/src/cxml.h
@@ -271,7 +271,7 @@ private:
};
-xmlpp::Element* add_child(xmlpp::Element* parent, std::string const& name);
+xmlpp::Element* add_child(xmlpp::Element* parent, std::string const& name, std::string const& ns_prefix = {});
void add_text_child(xmlpp::Element* parent, std::string const& name, std::string const& text);