diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-04 11:10:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-04 12:51:09 +0000 |
commit | ca8787a98171070c771dc167b43d5bdb98c52ce4 (patch) | |
tree | 44e476f42d84e50a406698b78f8c72b3afbdebd2 /stoc/source/security | |
parent | 18861c30a63dd419f3be47896a760109ac06c47a (diff) |
boost::unordered_map->std::unordered_map
Change-Id: I5d458f43616edc395faa8c27edaddc7d515166db
Diffstat (limited to 'stoc/source/security')
-rw-r--r-- | stoc/source/security/file_policy.cxx | 6 | ||||
-rw-r--r-- | stoc/source/security/lru_cache.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/stoc/source/security/file_policy.cxx b/stoc/source/security/file_policy.cxx index b26806f544eb..fdbb5fc8dfaf 100644 --- a/stoc/source/security/file_policy.cxx +++ b/stoc/source/security/file_policy.cxx @@ -18,8 +18,6 @@ */ -#include <boost/unordered_map.hpp> - #include <osl/diagnose.h> #include <osl/file.h> #include <rtl/byteseq.hxx> @@ -39,6 +37,8 @@ #include <com/sun/star/io/FilePermission.hpp> #include <com/sun/star/connection/SocketPermission.hpp> +#include <unordered_map> + #define IMPL_NAME "com.sun.star.security.comp.stoc.FilePolicy" using namespace ::osl; @@ -63,7 +63,7 @@ class FilePolicy AccessControl m_ac; Sequence< Any > m_defaultPermissions; - typedef boost::unordered_map< OUString, Sequence< Any >, OUStringHash > t_permissions; + typedef std::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 4688dc9b3278..4a40792df073 100644 --- a/stoc/source/security/lru_cache.h +++ b/stoc/source/security/lru_cache.h @@ -19,7 +19,7 @@ #ifndef INCLUDED_STOC_SOURCE_SECURITY_LRU_CACHE_H #define INCLUDED_STOC_SOURCE_SECURITY_LRU_CACHE_H -#include <boost/unordered_map.hpp> +#include <unordered_map> // __CACHE_DIAGNOSE works only for OUString keys #ifdef __CACHE_DIAGNOSE @@ -45,7 +45,7 @@ class lru_cache Entry * m_pred; Entry * m_succ; }; - typedef ::boost::unordered_map< t_key, Entry *, t_hashKey, t_equalKey > t_key2element; + typedef std::unordered_map< t_key, Entry *, t_hashKey, t_equalKey > t_key2element; t_key2element m_key2element; ::std::size_t m_size; |