diff options
Diffstat (limited to 'configmgr/source/valueparser.cxx')
-rw-r--r-- | configmgr/source/valueparser.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configmgr/source/valueparser.cxx b/configmgr/source/valueparser.cxx index a98aae6ccf03..105d9ef323b8 100644 --- a/configmgr/source/valueparser.cxx +++ b/configmgr/source/valueparser.cxx @@ -413,10 +413,11 @@ bool ValueParser::endElement() { break; case Node::KIND_LOCALIZED_PROPERTY: { - NodeMap::iterator i( - node_->getMembers().find(localizedName_)); - if (i == node_->getMembers().end()) { - node_->getMembers().insert( + NodeMap * members = node_->getMemberMap(); + assert(members != 0); + NodeMap::iterator i(members->find(localizedName_)); + if (i == members->end()) { + members->insert( NodeMap::value_type( localizedName_, new LocalizedValueNode(layer_, value))); |