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/corereflection | |
parent | 18861c30a63dd419f3be47896a760109ac06c47a (diff) |
boost::unordered_map->std::unordered_map
Change-Id: I5d458f43616edc395faa8c27edaddc7d515166db
Diffstat (limited to 'stoc/source/corereflection')
-rw-r--r-- | stoc/source/corereflection/base.hxx | 6 | ||||
-rw-r--r-- | stoc/source/corereflection/lrucache.hxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/stoc/source/corereflection/base.hxx b/stoc/source/corereflection/base.hxx index f49eb74bf6a5..08bba8fa8fd9 100644 --- a/stoc/source/corereflection/base.hxx +++ b/stoc/source/corereflection/base.hxx @@ -37,7 +37,7 @@ #include <list> #include <algorithm> #endif -#include <boost/unordered_map.hpp> +#include <unordered_map> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> @@ -77,9 +77,9 @@ inline typelib_TypeDescription * getTypeByName( const OUString & rName ) return pTypeDescr; } -typedef boost::unordered_map< OUString, css::uno::WeakReference< css::reflection::XIdlField >, +typedef std::unordered_map< OUString, css::uno::WeakReference< css::reflection::XIdlField >, OUStringHash > OUString2Field; -typedef boost::unordered_map< OUString, css::uno::WeakReference< css::reflection::XIdlMethod >, +typedef std::unordered_map< OUString, css::uno::WeakReference< css::reflection::XIdlMethod >, OUStringHash > OUString2Method; diff --git a/stoc/source/corereflection/lrucache.hxx b/stoc/source/corereflection/lrucache.hxx index 67f351b21033..7fbcb9db93e7 100644 --- a/stoc/source/corereflection/lrucache.hxx +++ b/stoc/source/corereflection/lrucache.hxx @@ -26,7 +26,7 @@ #include <rtl/ustring.hxx> #include <sal/log.hxx> -#include <boost/unordered_map.hpp> +#include <unordered_map> /** Implementation of a least recently used (lru) cache. <br> @@ -42,7 +42,7 @@ class LRU_Cache CacheEntry * pPred; CacheEntry * pSucc; }; - typedef ::boost::unordered_map< t_Key, CacheEntry *, t_KeyHash > t_Key2Element; + typedef std::unordered_map< t_Key, CacheEntry *, t_KeyHash > t_Key2Element; mutable ::osl::Mutex _aCacheMutex; sal_Int32 _nCachedElements; |