From e7c0bd4df01744a744847a94c7a04746787e5157 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 11 Aug 2017 12:36:24 +0100 Subject: error: ‘class configmgr::NodeMap’ has no member named ‘emplace’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I434739024afa97d05b5cf6e959973d845fdb2dfe --- configmgr/source/dconf.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configmgr') 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)); } } } -- cgit