summaryrefslogtreecommitdiffstats
path: root/configmgr/source/setnode.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2014-06-26 14:49:38 +0100
committerMichael Meeks <michael.meeks@collabora.com>2014-06-28 14:37:23 +0100
commit8bfdc161e6417a4f057f66af6c44299e22ad5a9c (patch)
treec8feea554731ac78f808c4f835b8ea1a722fca3d /configmgr/source/setnode.cxx
parentconfigmgr: hide NodeMap implementation. (diff)
downloadcore-8bfdc161e6417a4f057f66af6c44299e22ad5a9c.tar.gz
core-8bfdc161e6417a4f057f66af6c44299e22ad5a9c.zip
configmgr: re-factor findNode and clone into NodeMap.
Change-Id: Ib170b3cec17402e38bf5555e21f83f44d70bb574
Diffstat (limited to 'configmgr/source/setnode.cxx')
-rw-r--r--configmgr/source/setnode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/setnode.cxx b/configmgr/source/setnode.cxx
index d00253b891d2..ad259cc9fd9d 100644
--- a/configmgr/source/setnode.cxx
+++ b/configmgr/source/setnode.cxx
@@ -95,7 +95,7 @@ SetNode::SetNode(SetNode const & other, bool keepTemplateName):
additionalTemplateNames_(other.additionalTemplateNames_),
mandatory_(other.mandatory_)
{
- cloneNodeMap(other.members_, &members_);
+ other.members_.cloneInto(&members_);
if (keepTemplateName) {
templateName_ = other.templateName_;
}