diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-01 11:56:21 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-02-02 09:20:47 +0000 |
commit | 98c343604dcf718b3c8ee3e38da1a50c7a0199a2 (patch) | |
tree | 5979fd35cfcdd3989f4db42afee0881a8391422b /vcl/inc/osx/saldata.hxx | |
parent | 04eba5f599b8ac2accfc1d6abc74a91c38616691 (diff) |
boost::hash->std::hash
Change-Id: If4d1e4071995f07212fad958b0226d5824d168f8
Reviewed-on: https://gerrit.libreoffice.org/21989
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/inc/osx/saldata.hxx')
-rw-r--r-- | vcl/inc/osx/saldata.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/vcl/inc/osx/saldata.hxx b/vcl/inc/osx/saldata.hxx index b32d67b737c7..1ea8074e9b38 100644 --- a/vcl/inc/osx/saldata.hxx +++ b/vcl/inc/osx/saldata.hxx @@ -33,8 +33,7 @@ #include "svdata.hxx" #include "salwtype.hxx" -#include <boost/functional/hash.hpp> - +#include <functional> #include <list> #include <map> #include <unordered_set> @@ -56,10 +55,10 @@ class SystemFontList; #define SAL_CLIPRECT_COUNT 16 class AquaSalFrame; -struct FrameHash : public boost::hash<sal_IntPtr> +struct FrameHash : public std::hash<sal_IntPtr> { size_t operator()(const AquaSalFrame* frame) const - { return boost::hash<sal_IntPtr>::operator()( reinterpret_cast<const sal_IntPtr>(frame) ); } + { return std::hash<sal_IntPtr>::operator()( reinterpret_cast<const sal_IntPtr>(frame) ); } }; #define INVALID_CURSOR_PTR reinterpret_cast<NSCursor*>(0xdeadbeef) |