summaryrefslogtreecommitdiff
path: root/unoidl/source/sourcetreeprovider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoidl/source/sourcetreeprovider.cxx')
-rw-r--r--unoidl/source/sourcetreeprovider.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/unoidl/source/sourcetreeprovider.cxx b/unoidl/source/sourcetreeprovider.cxx
index 55dd2ac68d98..da1770ca0704 100644
--- a/unoidl/source/sourcetreeprovider.cxx
+++ b/unoidl/source/sourcetreeprovider.cxx
@@ -201,8 +201,7 @@ rtl::Reference<Entity> SourceTreeProvider::findEntity(OUString const & name)
"<" << uri << "> does not define entity " << name);
}
}
- cache_.insert(
- std::map< OUString, rtl::Reference<Entity> >::value_type(name, ent));
+ cache_.emplace(name, ent);
return ent;
}