diff options
author | Fridrich Strba <fridrich.strba@bluewin.ch> | 2011-02-03 03:34:51 -0700 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-03 11:37:48 +0100 |
commit | 712fba7496cf40dd09ec26672c285ed09e55ab53 (patch) | |
tree | 2d6994e3f614cea1f8807d26660c13ab143f63cd /registry | |
parent | Use rtl::Allocator in MSVC hash containers (diff) | |
download | core-712fba7496cf40dd09ec26672c285ed09e55ab53.tar.gz core-712fba7496cf40dd09ec26672c285ed09e55ab53.zip |
Build module registry with MSVC stl
Diffstat (limited to 'registry')
-rw-r--r-- | registry/source/regimpl.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/registry/source/regimpl.hxx b/registry/source/regimpl.hxx index c08721ee84d4..4ce3a116ce8d 100644 --- a/registry/source/regimpl.hxx +++ b/registry/source/regimpl.hxx @@ -168,7 +168,11 @@ private: const rtl::OUString& sName, sal_Int16 nSpace) const; +#ifdef USE_MSVC_HASH_MAP + typedef std::hash_map< rtl::OUString, ORegKey* > KeyMap; +#else typedef std::hash_map< rtl::OUString, ORegKey*, rtl::OUStringHash > KeyMap; +#endif sal_uInt32 m_refCount; osl::Mutex m_mutex; |