diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-30 01:36:17 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-30 01:36:17 +0100 |
| commit | e7af3319abdef29be1f35fde62fc38f1b3e727b7 (patch) | |
| tree | 3584f8dde3cefe80c710e72acb66215a8eec839d /src/cxml.h | |
| parent | 4e88d43f912390b1251b38ff107b0fb3b5015191 (diff) | |
const improvement.v0.17.12
Diffstat (limited to 'src/cxml.h')
| -rw-r--r-- | src/cxml.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -122,7 +122,7 @@ public: * not destroy the xmlpp::Node. * @param node xmlpp::Node. */ - Node (xmlpp::Node* node); + Node(xmlpp::Node const* node); std::string name () const; @@ -229,14 +229,14 @@ public: std::vector<std::shared_ptr<Node>> node_children () const; std::vector<std::shared_ptr<Node>> node_children (std::string) const; - xmlpp::Node* node () const { + xmlpp::Node const* node() const { return _node; } bool is_text() const; protected: - xmlpp::Node* _node; + xmlpp::Node const* _node; private: mutable std::vector<Glib::ustring> _taken; |
