diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-08-02 17:51:40 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2011-11-17 21:15:15 +0100 |
commit | 90b5fe7673dc086d4474aae6b7f3bbc223fe7ddf (patch) | |
tree | fef39df9106ce062cfea914ef969494ef94faea4 /connectivity/source/drivers/postgresql/pq_connection.hxx | |
parent | d648eecd0f63792bf8ceae1aef20100cf70bf5ea (diff) |
Use unordered_map instead of hash_map
GNU g++ 4.6 warns that hash_map is deprecated
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_connection.hxx')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_connection.hxx | 6 |
1 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 322e3752852e..2bc15e89dd02 100644 --- a/connectivity/source/drivers/postgresql/pq_connection.hxx +++ b/connectivity/source/drivers/postgresql/pq_connection.hxx @@ -61,7 +61,7 @@ #ifndef _PQ_CONNECTION_HXX_ #define _PQ_CONNECTION_HXX_ -#include <hash_map> +#include <unordered_map> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/lang/XInitialization.hpp> @@ -168,7 +168,7 @@ struct HashByteSequence } }; -typedef ::std::hash_map< +typedef ::std::unordered_map< ::rtl::ByteSequence, ::com::sun::star::uno::WeakReference< com::sun::star::sdbc::XCloseable >, HashByteSequence, @@ -179,7 +179,7 @@ typedef ::std::vector< rtl::OString, Allocator< ::rtl::OString > > OStringVector -typedef std::hash_map +typedef std::unordered_map < const sal_Int32, rtl::OUString, |