diff options
Diffstat (limited to 'registry/source')
-rw-r--r-- | registry/source/regimpl.hxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/registry/source/regimpl.hxx b/registry/source/regimpl.hxx index 4ce3a116ce8d..64e0cc8c401f 100644 --- a/registry/source/regimpl.hxx +++ b/registry/source/regimpl.hxx @@ -30,7 +30,7 @@ #define _REGIMPL_HXX_ #include <set> -#include <hash_map> +#include <boost/unordered_map.hpp> #include <registry/registry.h> #include <rtl/ustring.hxx> @@ -168,11 +168,7 @@ 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 + typedef boost::unordered_map< rtl::OUString, ORegKey*, rtl::OUStringHash > KeyMap; sal_uInt32 m_refCount; osl::Mutex m_mutex; |