Merge pull request #307 from Dmitry-Me/simplifyOverengineeredCode

Simplify overengineered code
This commit is contained in:
Lee Thomason 2015-04-02 13:27:17 -07:00
commit 8c067ab730

View File

@ -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