mirror of https://github.com/AxioDL/tinyxml2.git
Simplify overengineered code
This commit is contained in:
parent
28c7c8c14f
commit
8d4e0ec528
|
@ -760,7 +760,7 @@ public:
|
|||
}
|
||||
|
||||
XMLNode* LastChild() {
|
||||
return const_cast<XMLNode*>(const_cast<const XMLNode*>(this)->LastChild() );
|
||||
return _lastChild;
|
||||
}
|
||||
|
||||
/** Get the last child element or optionally the last child
|
||||
|
|
Loading…
Reference in New Issue