diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-12-07 22:21:18 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-12-07 22:21:48 +0100 |
commit | e05856c798c227ca2e38d33d5e30aad2f711b8bb (patch) | |
tree | 706bf87fa7a1dcebcfebef28ac324ea96d0ea3af /connectivity | |
parent | 2ef7f7efbffe036864ad0c73c974a16a0b4401ff (diff) |
Fix build of pgsql connector (std::hash -> boost::hash)
Diffstat (limited to 'connectivity')
3 files changed, 2 insertions, 10 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.hxx b/connectivity/source/drivers/postgresql/pq_connection.hxx index 2a34025668ac..1ff8a1aa7712 100644 --- a/connectivity/source/drivers/postgresql/pq_connection.hxx +++ b/connectivity/source/drivers/postgresql/pq_connection.hxx @@ -183,7 +183,7 @@ typedef ::boost::unordered_map < const sal_Int32, rtl::OUString, - ::std::hash< sal_Int32 >, + ::boost::hash< sal_Int32 >, ::std::equal_to< sal_Int32 >, Allocator< ::std::pair< sal_Int32, ::rtl::OUString > > > Int2StringMap; diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx index 28aad9cbcb6a..d26b1504c6d6 100644 --- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx +++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx @@ -1455,7 +1455,7 @@ typedef ::boost::unordered_map < sal_Int32, DatabaseTypeDescription, - ::std::hash< sal_Int32 >, + ::boost::hash< sal_Int32 >, ::std::equal_to< sal_Int32 >, Allocator< ::std::pair< sal_Int32, DatabaseTypeDescription > > > Oid2DatabaseTypeDescriptionMap; diff --git a/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx b/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx index 82ee02c3b1ae..a67ca4326476 100644 --- a/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx +++ b/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx @@ -181,14 +181,6 @@ ResultSetMetaData::ResultSetMetaData( } } -// typedef std::hash_map< -// Oid, -// rtl::OUString, -// std::hash< Oid >, -// std::equal_to< Oid >, -// Allocator < std::pair< Oid, rtl::OUString > > > PqTypeMap; - - void ResultSetMetaData::checkForTypes() { if( ! m_checkedForTypes ) |