From d347c2403605c5aa3ddd98fb605366914acab79f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 10 Aug 2017 16:43:55 +0200 Subject: convert std::map::insert to std::map::emplace which is considerably less verbose Change-Id: Ifa373e8eb09e39bd6c8d3578641610a6055a187b Reviewed-on: https://gerrit.libreoffice.org/40978 Tested-by: Jenkins Reviewed-by: Noel Grandin --- bridges/source/cpp_uno/shared/vtablefactory.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridges') diff --git a/bridges/source/cpp_uno/shared/vtablefactory.cxx b/bridges/source/cpp_uno/shared/vtablefactory.cxx index 65dbb03c1cd1..6df5acbff883 100644 --- a/bridges/source/cpp_uno/shared/vtablefactory.cxx +++ b/bridges/source/cpp_uno/shared/vtablefactory.cxx @@ -216,7 +216,7 @@ VtableFactory::Vtables VtableFactory::getVtables( for (sal_Int32 j = 0; j < vtables.count; ++j) { vtables.blocks[j] = blocks[j]; } - i = m_map.insert(Map::value_type(name, vtables)).first; + i = m_map.emplace(name, vtables).first; guardedBlocks.release(); blocks.unguard(); } -- cgit v1.2.3