diff options
Diffstat (limited to 'src/xml/XmlNode.cpp')
-rw-r--r-- | src/xml/XmlNode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/XmlNode.cpp b/src/xml/XmlNode.cpp index 51a861fa..5c6294c8 100644 --- a/src/xml/XmlNode.cpp +++ b/src/xml/XmlNode.cpp @@ -27,7 +27,7 @@ void XmlElementNode::AddAttribute(String key, String value) { } void XmlElementNode::AddChild(XmlNode* child) { - assert(child->GetParent() == nullptr); + Expects(child->GetParent() == nullptr); children_.push_back(child); child->parent_ = this; } |