summaryrefslogtreecommitdiffstats
path: root/codemaker/source/cppumaker/dependencies.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker/source/cppumaker/dependencies.cxx')
-rw-r--r--codemaker/source/cppumaker/dependencies.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/codemaker/source/cppumaker/dependencies.cxx b/codemaker/source/cppumaker/dependencies.cxx
index 99da99fdf7a4..314e0213fec0 100644
--- a/codemaker/source/cppumaker/dependencies.cxx
+++ b/codemaker/source/cppumaker/dependencies.cxx
@@ -282,8 +282,7 @@ void Dependencies::insert(OUString const & name, Kind kind) {
case UnoType::Sort::Typedef:
{
std::pair< Map::iterator, bool > i(
- m_map.insert(
- Map::value_type(n, kind)));
+ m_map.emplace(n, kind));
if (!i.second && kind == KIND_BASE) {
assert(i.first->second != KIND_EXCEPTION);
i.first->second = KIND_BASE;