diff options
author | Fridrich Strba <fridrich.strba@bluewin.ch> | 2011-02-03 16:24:08 -0700 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-04 00:28:23 +0100 |
commit | 030633cd53e8aacdcf1927c46dd6d5b8db58d841 (patch) | |
tree | 300d66694581d452a9709f736ad7376ca8f55043 /stoc/source/security | |
parent | aac09aee6761197a023fba69a88340fdba0684fb (diff) |
moving the rest of ure repository to boost unordered containers
Diffstat (limited to 'stoc/source/security')
-rw-r--r-- | stoc/source/security/file_policy.cxx | 4 | ||||
-rw-r--r-- | stoc/source/security/lru_cache.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/stoc/source/security/file_policy.cxx b/stoc/source/security/file_policy.cxx index ce1a525e659f..aad4b7cfc37b 100644 --- a/stoc/source/security/file_policy.cxx +++ b/stoc/source/security/file_policy.cxx @@ -29,7 +29,7 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_stoc.hxx" -#include <hash_map> +#include <boost/unordered_map.hpp> #include <osl/diagnose.h> #include <osl/file.h> @@ -93,7 +93,7 @@ class FilePolicy AccessControl m_ac; Sequence< Any > m_defaultPermissions; - typedef std::hash_map< OUString, Sequence< Any >, OUStringHash > t_permissions; + typedef boost::unordered_map< OUString, Sequence< Any >, OUStringHash > t_permissions; t_permissions m_userPermissions; bool m_init; diff --git a/stoc/source/security/lru_cache.h b/stoc/source/security/lru_cache.h index a03a1a3e50f3..4b7440e9dce8 100644 --- a/stoc/source/security/lru_cache.h +++ b/stoc/source/security/lru_cache.h @@ -28,7 +28,7 @@ #ifndef _STOC_SEC_LRU_CACHE_H_ #define _STOC_SEC_LRU_CACHE_H_ -#include <hash_map> +#include <boost/unordered_map.hpp> // __CACHE_DIAGNOSE works only for OUString keys #ifdef __CACHE_DIAGNOSE @@ -54,7 +54,7 @@ class lru_cache Entry * m_pred; Entry * m_succ; }; - typedef ::std::hash_map< t_key, Entry *, t_hashKey, t_equalKey > t_key2element; + typedef ::boost::unordered_map< t_key, Entry *, t_hashKey, t_equalKey > t_key2element; t_key2element m_key2element; ::std::size_t m_size; |