Make wxXmlNode::GetDepth() parameter const
There is no need to require a non-const pointer here. Closes #24317.
This commit is contained in:
parent
85b04c1c24
commit
63a40637eb
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue