comphelper: replace boost::hash with std::hash
Change-Id: I9824145518cbac6ae3e700c402f1335b7d1b56f8
This commit is contained in:
@@ -30,7 +30,8 @@
|
|||||||
#include <cppuhelper/basemutex.hxx>
|
#include <cppuhelper/basemutex.hxx>
|
||||||
#include <cppuhelper/weakref.hxx>
|
#include <cppuhelper/weakref.hxx>
|
||||||
#include <cppuhelper/implbase.hxx>
|
#include <cppuhelper/implbase.hxx>
|
||||||
#include <boost/functional/hash.hpp>
|
|
||||||
|
#include <functional>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
@@ -59,9 +60,9 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex
|
|||||||
};
|
};
|
||||||
|
|
||||||
typedef std::unordered_map<
|
typedef std::unordered_map<
|
||||||
long ,
|
long,
|
||||||
TNumberedItem ,
|
TNumberedItem,
|
||||||
::boost::hash< long > ,
|
::std::hash<long>,
|
||||||
::std::equal_to< long > > TNumberedItemHash;
|
::std::equal_to< long > > TNumberedItemHash;
|
||||||
|
|
||||||
typedef ::std::vector< long > TDeadItemList;
|
typedef ::std::vector< long > TDeadItemList;
|
||||||
|
Reference in New Issue
Block a user