diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-27 21:01:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-27 23:00:45 +0000 |
commit | 7f476fea47f06a7f8cc961dd4f6595a524346fa5 (patch) | |
tree | 52d16713e5a2a5203b041f9ec82742617bd33b1c /include/comphelper/numberedcollection.hxx | |
parent | fc95782eb39cf4974ac4b3096695eeb89008937c (diff) |
boost::unordered_map -> c++11 std::unordered_map
Change-Id: I28438000c2b0a8e6ce4f5640f861f572c0cb83c8
Diffstat (limited to 'include/comphelper/numberedcollection.hxx')
-rw-r--r-- | include/comphelper/numberedcollection.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/comphelper/numberedcollection.hxx b/include/comphelper/numberedcollection.hxx index cd0ba95a44d0..f1d6ccc3d1df 100644 --- a/include/comphelper/numberedcollection.hxx +++ b/include/comphelper/numberedcollection.hxx @@ -30,9 +30,9 @@ #include <cppuhelper/basemutex.hxx> #include <cppuhelper/weakref.hxx> #include <cppuhelper/implbase1.hxx> - +#include <boost/functional/hash.hpp> +#include <unordered_map> #include <vector> -#include <boost/unordered_map.hpp> namespace comphelper{ @@ -58,7 +58,7 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex ::sal_Int32 nNumber; }; - typedef ::boost::unordered_map< + typedef std::unordered_map< long , TNumberedItem , ::boost::hash< long > , |