summaryrefslogtreecommitdiff
path: root/indra/llxml
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-10-25 17:30:03 -0700
committerRichard Linden <none@none>2012-10-25 17:30:03 -0700
commit7f97aa2d5db0d1429136a40d04d2e4428cb184fe (patch)
treebeac059a2c447c1d4ad0d3f3fa6d6ff1e942358c /indra/llxml
parent1de6ecb23851e0784016a2c4c9f691c976c6bda7 (diff)
SH-3405 WIP convert existing stats to lltrace system
fixed crash on exit
Diffstat (limited to 'indra/llxml')
-rw-r--r--indra/llxml/llxmlnode.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llxml/llxmlnode.cpp b/indra/llxml/llxmlnode.cpp
index 2ffb0d8503..8746114f1b 100644
--- a/indra/llxml/llxmlnode.cpp
+++ b/indra/llxml/llxmlnode.cpp
@@ -273,7 +273,8 @@ void LLXMLNode::addChild(LLXMLNodePtr new_child, LLXMLNodePtr after_child)
new_child->mParent = this;
if (new_child->mIsAttribute)
{
- mAttributes.insert(std::make_pair(new_child->mName, new_child));
+ std::pair<LLXMLAttribList::iterator, bool> result = mAttributes.insert(std::make_pair(new_child->mName, new_child));
+ llassert(result.second);
}
else
{