diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-01-27 21:28:44 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-01-28 10:10:27 +0100 |
commit | 8b1fc9108fdc114d65a2a116bd88081dcb39dbaa (patch) | |
tree | 0520f27e377c9349632e577ce252f8f57a560385 /include/comphelper | |
parent | 8e2b9658580ceef1018e59574cb9dc9fde900ffb (diff) |
comphelper: replace boost::hash with std::hash
Change-Id: I9824145518cbac6ae3e700c402f1335b7d1b56f8
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/numberedcollection.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/comphelper/numberedcollection.hxx b/include/comphelper/numberedcollection.hxx index 9937d7e0d622..1f44fd0e96ea 100644 --- a/include/comphelper/numberedcollection.hxx +++ b/include/comphelper/numberedcollection.hxx @@ -30,7 +30,8 @@ #include <cppuhelper/basemutex.hxx> #include <cppuhelper/weakref.hxx> #include <cppuhelper/implbase.hxx> -#include <boost/functional/hash.hpp> + +#include <functional> #include <unordered_map> #include <vector> @@ -59,9 +60,9 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex }; typedef std::unordered_map< - long , - TNumberedItem , - ::boost::hash< long > , + long, + TNumberedItem, + ::std::hash<long>, ::std::equal_to< long > > TNumberedItemHash; typedef ::std::vector< long > TDeadItemList; |