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
|
|
@ -203,7 +203,7 @@ public:
|
|||
@a grandparent or the @NULL node (which is the parent of non-linked
|
||||
nodes or the parent of a wxXmlDocument's root element node).
|
||||
*/
|
||||
int GetDepth(wxXmlNode* grandparent = nullptr) const;
|
||||
int GetDepth(const wxXmlNode* grandparent = nullptr) const;
|
||||
|
||||
/**
|
||||
Returns a flag indicating whether encoding conversion is necessary when saving. The default is @false.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue