Simplify overengineered code

This commit is contained in:
Dmitry-Me 2015-03-30 12:58:28 +03:00
parent 28c7c8c14f
commit 8d4e0ec528
1 changed files with 1 additions and 1 deletions

View File

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