diff options
author | Fridrich Strba <fridrich.strba@bluewin.ch> | 2011-02-03 14:05:04 -0700 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-03 22:32:23 +0100 |
commit | f8e27a7c4629a6487a0047a7bd32bf5f171e4d9b (patch) | |
tree | b46331deb3fcc0ebb7bc241be9d7c7b6f35d3fc6 /registry | |
parent | 712fba7496cf40dd09ec26672c285ed09e55ab53 (diff) |
some std::hash_map/set -> boost::unordered_map/set changes
Diffstat (limited to 'registry')
-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; |