aboutsummaryrefslogtreecommitdiff
path: root/src/xml/XmlNode.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-09 17:41:27 +0000
committercrupest <crupest@outlook.com>2022-01-09 17:41:27 +0000
commitab108a16415927d3f1eb03a7d0ac63c50a55ddbe (patch)
treeafe6182d55464f3d251c11938978632de143375b /src/xml/XmlNode.cpp
parent13256b52f55922c52c3d42b0088cfef530907e1d (diff)
downloadcru-ab108a16415927d3f1eb03a7d0ac63c50a55ddbe.tar.gz
cru-ab108a16415927d3f1eb03a7d0ac63c50a55ddbe.tar.bz2
cru-ab108a16415927d3f1eb03a7d0ac63c50a55ddbe.zip
...
Diffstat (limited to 'src/xml/XmlNode.cpp')
-rw-r--r--src/xml/XmlNode.cpp2
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;
}