summaryrefslogtreecommitdiff
path: root/configmgr/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-08-11 12:36:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-08-11 12:37:19 +0100
commite7c0bd4df01744a744847a94c7a04746787e5157 (patch)
treead9a53a4372ed685afe079d47a810af5d1f7e8b2 /configmgr/source
parent01fa5e8e8f0204447e5fa2e7849575ea89cd9b41 (diff)
error: ‘class configmgr::NodeMap’ has no member named ‘emplace’
Change-Id: I434739024afa97d05b5cf6e959973d845fdb2dfe
Diffstat (limited to 'configmgr/source')
-rw-r--r--configmgr/source/dconf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/dconf.cxx b/configmgr/source/dconf.cxx
index 35e626163fa3..2ba4d0c9b43c 100644
--- a/configmgr/source/dconf.cxx
+++ b/configmgr/source/dconf.cxx
@@ -1036,9 +1036,9 @@ void readDir(
}
} else if (replace) {
members.erase(name);
- members.emplace( name, member));
+ members.insert(NodeMap::value_type(name, member));
} else if (insert) {
- members.emplace( name, member));
+ members.insert(NodeMap::value_type(name, member));
}
}
}