summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-12-07 22:21:18 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-12-07 22:27:41 +0100
commitfbe8b005983937e35dafb47a5a146cfbf31132cb (patch)
tree1e520412edafb36b71573871298ac361087afcd5 /connectivity
parent01d59b7a07e88b136f306e335a497b3d8354201b (diff)
Fix build of pgsql connector (std::hash -> boost::hash)
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/postgresql/pq_connection.hxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_databasemetadata.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx8
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 )