Simplify overengineered code
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user