diff options
Diffstat (limited to 'sal/rtl')
-rw-r--r-- | sal/rtl/source/bootstrap.cxx | 4 | ||||
-rw-r--r-- | sal/rtl/source/unload.cxx | 10 |
2 files changed, 11 insertions, 3 deletions
diff --git a/sal/rtl/source/bootstrap.cxx b/sal/rtl/source/bootstrap.cxx index 103a25c6a2bb..92c77365b5c6 100644 --- a/sal/rtl/source/bootstrap.cxx +++ b/sal/rtl/source/bootstrap.cxx @@ -608,7 +608,9 @@ struct bootstrap_map { // thus there is no need to link against the stlport: #ifdef USE_MSVC_HASH_MAP typedef std::hash_map< - rtl::OUString, Bootstrap_Impl *> t; + rtl::OUString, Bootstrap_Impl *, + std::hash_compare<rtl::OUString>, + rtl::Allocator< OUString> > t; #else typedef std::hash_map< rtl::OUString, Bootstrap_Impl *, diff --git a/sal/rtl/source/unload.cxx b/sal/rtl/source/unload.cxx index 0677ae6f8e2d..7d64d5fc5f6c 100644 --- a/sal/rtl/source/unload.cxx +++ b/sal/rtl/source/unload.cxx @@ -168,7 +168,10 @@ namespace stdext typedef std::hash_map< oslModule, - std::pair<sal_uInt32, component_canUnloadFunc> > ModuleMap; + std::pair<sal_uInt32, component_canUnloadFunc>, + std::hash_compare<oslModule>, + rtl::Allocator<oslModule> +> ModuleMap; #else typedef std::hash_map< oslModule, @@ -323,7 +326,10 @@ struct hashListener #ifdef USE_MSVC_HASH_MAP typedef std::hash_map< sal_Int32, - std::pair<rtl_unloadingListenerFunc, void*> > ListenerMap; + std::pair<rtl_unloadingListenerFunc, void*>, + std::hash_compare<sal_Int32>, + rtl::Allocator<sal_Int32> +> ListenerMap; #else typedef std::hash_map< sal_Int32, |