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 /connectivity | |
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 'connectivity')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_connection.hxx | 4 | ||||
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_databasemetadata.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.hxx b/connectivity/source/drivers/postgresql/pq_connection.hxx index ef1c7e24966f..e5ebe0bc45f2 100644 --- a/connectivity/source/drivers/postgresql/pq_connection.hxx +++ b/connectivity/source/drivers/postgresql/pq_connection.hxx @@ -56,7 +56,7 @@ #include <cppuhelper/weakref.hxx> #include <cppuhelper/compbase.hxx> -#include <boost/functional/hash.hpp> +#include <functional> #include <libpq-fe.h> #include <unordered_map> @@ -160,7 +160,7 @@ typedef std::unordered_map < sal_Int32, OUString, - ::boost::hash< sal_Int32 >, + ::std::hash< sal_Int32 >, ::std::equal_to< sal_Int32 > > Int2StringMap; diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx index a742d4aa7742..1503007c35b8 100644 --- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx +++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx @@ -1406,7 +1406,7 @@ typedef std::unordered_map < sal_Int32, DatabaseTypeDescription, - ::boost::hash< sal_Int32 >, + ::std::hash< sal_Int32 >, ::std::equal_to< sal_Int32 > > Oid2DatabaseTypeDescriptionMap; |