Make wxXmlNode::GetDepth() parameter const

There is no need to require a non-const pointer here.

Closes #24317.
This commit is contained in:
Vadim Zeitlin 2024-02-16 14:24:40 +01:00
parent 85b04c1c24
commit 63a40637eb
3 changed files with 3 additions and 3 deletions

View file

@ -132,7 +132,7 @@ public:
const wxString& GetContent() const { return m_content; }
bool IsWhitespaceOnly() const;
int GetDepth(wxXmlNode *grandparent = nullptr) const;
int GetDepth(const wxXmlNode *grandparent = nullptr) const;
// Gets node content from wxXML_ENTITY_NODE
// The problem is, <tag>content<tag> is represented as