diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-02-06 14:21:20 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-02-26 16:46:56 +0100 |
commit | ff3b92017d3c831987ab437e48178e9d29a36bfb (patch) | |
tree | 735fadfc102416a2c706087e97f461309865d50d | |
parent | aa68e4c54952578fcf644f7a6df5174028a1412d (diff) |
webdav: std::hash_set|map -> std::unordered_set|map
Change-Id: Id0c18cb51af742d073d532662558fdd84d476f88
-rw-r--r-- | ucb/source/ucp/webdav/ContentProperties.hxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/webdav/PropertyMap.hxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/webdav/webdavresponseparser.cxx | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/ucb/source/ucp/webdav/ContentProperties.hxx b/ucb/source/ucp/webdav/ContentProperties.hxx index b9e075c1854b..2e7054be0646 100644 --- a/ucb/source/ucp/webdav/ContentProperties.hxx +++ b/ucb/source/ucp/webdav/ContentProperties.hxx @@ -24,7 +24,7 @@ #include <memory> #include <vector> -#include <hash_map> +#include <unordered_map> #include <rtl/ustring.hxx> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -82,7 +82,7 @@ public: }; -typedef std::hash_map +typedef std::unordered_map < OUString, PropertyValue, diff --git a/ucb/source/ucp/webdav/PropertyMap.hxx b/ucb/source/ucp/webdav/PropertyMap.hxx index 2cb18e69610b..1729e07caeef 100644 --- a/ucb/source/ucp/webdav/PropertyMap.hxx +++ b/ucb/source/ucp/webdav/PropertyMap.hxx @@ -22,7 +22,7 @@ #ifndef _WEBDAV_UCP_PROPERTYMAP_HXX #define _WEBDAV_UCP_PROPERTYMAP_HXX -#include <hash_set> +#include <unordered_set> #include <com/sun/star/beans/Property.hpp> namespace http_dav_ucp { @@ -46,7 +46,7 @@ struct hashPropertyName } }; -typedef std::hash_set +typedef std::unordered_set < ::com::sun::star::beans::Property, hashPropertyName, diff --git a/ucb/source/ucp/webdav/webdavresponseparser.cxx b/ucb/source/ucp/webdav/webdavresponseparser.cxx index 1b870869c640..dc1ffb6de750 100644 --- a/ucb/source/ucp/webdav/webdavresponseparser.cxx +++ b/ucb/source/ucp/webdav/webdavresponseparser.cxx @@ -28,7 +28,7 @@ #include <com/sun/star/ucb/LockScope.hpp> #include <com/sun/star/ucb/LockType.hpp> #include <map> -#include <hash_map> +#include <unordered_map> ////////////////////////////////////////////////////////////////////////////// @@ -64,7 +64,7 @@ namespace } // end of anonymous namespace ////////////////////////////////////////////////////////////////////////////// -// WebDAVName enum and StringToEnum converter using hash_map +// WebDAVName enum and StringToEnum converter using unordered_map namespace { @@ -96,7 +96,7 @@ namespace WebDAVName StrToWebDAVName(const OUString& rStr) { - typedef std::hash_map< OUString, WebDAVName, OUStringHash > WebDAVNameMapper; + typedef std::unordered_map< OUString, WebDAVName, OUStringHash > WebDAVNameMapper; typedef std::pair< OUString, WebDAVName > WebDAVNameValueType; static WebDAVNameMapper aWebDAVNameMapperList; |