diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-02-22 00:23:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-02-22 00:23:47 +0100 |
| commit | a0ca8f600cd5bbf3b942b276fc870083de4e1b0a (patch) | |
| tree | f910c0174b753882f302ca1a23b065189a4bcf9d /src/cxml.h | |
| parent | 42ae34df3c11483a798bfa01a31b9494fc8d8315 (diff) | |
Add ns_prefix parameter to add_child().
Diffstat (limited to 'src/cxml.h')
| -rw-r--r-- | src/cxml.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
