summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_connection.hxx
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2011-09-06 23:13:13 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2011-11-17 21:15:27 +0100
commit969bf70f1bbe62d61fcaa87236b5d0f5e03a4a52 (patch)
tree7463ba7ebe3f6eb8d6697ead8e3fb6ea6c0ed827 /connectivity/source/drivers/postgresql/pq_connection.hxx
parent1ed8d09f679c321870c94cc18b171a4267fd2197 (diff)
pgsql-sdbc: switch to boost::unordered_map instead of std::unordered_map
Compatibility with non-bleeding edge C++ compilers/library environments
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_connection.hxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_connection.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.hxx b/connectivity/source/drivers/postgresql/pq_connection.hxx
index 2f762789f226..d6c6c8592162 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.hxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.hxx
@@ -58,14 +58,11 @@
*
* Contributor(s): Joerg Budischewski
*
- * Non-Sun changes:
- * * august 2011: switch to unordered_map instead of deprecated hash_map
- *
************************************************************************/
#ifndef _PQ_CONNECTION_HXX_
#define _PQ_CONNECTION_HXX_
-#include <unordered_map>
+#include <boost/unordered_map.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
@@ -176,7 +173,7 @@ struct HashByteSequence
}
};
-typedef ::std::unordered_map<
+typedef ::boost::unordered_map<
::rtl::ByteSequence,
::com::sun::star::uno::WeakReference< com::sun::star::sdbc::XCloseable >,
HashByteSequence,
@@ -187,7 +184,7 @@ typedef ::std::vector< rtl::OString, Allocator< ::rtl::OString > > OStringVector
-typedef std::unordered_map
+typedef ::boost::unordered_map
<
const sal_Int32,
rtl::OUString,