mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-05-14 19:31:23 +00:00
Merge pull request #307 from Dmitry-Me/simplifyOverengineeredCode
Simplify overengineered code
This commit is contained in:
commit
8c067ab730
@ -760,7 +760,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
XMLNode* LastChild() {
|
XMLNode* LastChild() {
|
||||||
return const_cast<XMLNode*>(const_cast<const XMLNode*>(this)->LastChild() );
|
return _lastChild;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get the last child element or optionally the last child
|
/** Get the last child element or optionally the last child
|
||||||
|
Loading…
x
Reference in New Issue
Block a user