summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-10 19:25:24 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-06 17:24:25 -0500
commit80c393745e3cabd2fb5aa3b13b6c99a40c4f880c (patch)
treef57862301d9852e702a0c4a33c66cc28a0d1d8ba /vcl
parentdddfa4432fa341a68638ecaaa1320fc73e2e0e34 (diff)
vcl: avoid a boost::ptr_map in VclBuilder
This eliminates 638MB of preprocessor input. Change-Id: Ife434310ec08e408e1f8aaf52d6298f8caa209af (cherry picked from commit ad94eaf540260296e8aee0b5bff91d22a5fe6b78)
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/builder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index dba80c0d5bad..9a5a5b50d071 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -1751,7 +1751,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
#else
pModule->loadRelative(&thisModule, sModule);
#endif
- aI = m_aModuleMap.insert(sModule, pModule).first;
+ aI = m_aModuleMap.insert(std::make_pair(sModule, std::unique_ptr<osl::Module>(pModule))).first;
}
customMakeWidget pFunction = reinterpret_cast<customMakeWidget>(aI->second->getFunctionSymbol(sFunction));
#else