From a0ca8f600cd5bbf3b942b276fc870083de4e1b0a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 22 Feb 2024 00:23:47 +0100 Subject: Add ns_prefix parameter to add_child(). --- src/cxml.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cxml.h') 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); -- cgit v1.2.3