summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2013-02-24 16:32:55 +0100
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-03-02 05:43:29 +0000
commit766170b61e26155715d1cd02f046658697293f5d (patch)
tree62737d5a29444b15bc698161622f8ac78a29ef31 /connectivity
parent95f8cb6823f21dd97b380136286e87e0ffa2fb24 (diff)
Removing useless STLPort specific code
Change-Id: Id4c5907b2431130018bff434049d9e85ae689793 Reviewed-on: https://gerrit.libreoffice.org/2365 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Niko Rönkkö <ronkko@iki.fi> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/postgresql/pq_allocator.hxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_allocator.hxx b/connectivity/source/drivers/postgresql/pq_allocator.hxx
index 78d1dfa3db9a..743a83896b36 100644
--- a/connectivity/source/drivers/postgresql/pq_allocator.hxx
+++ b/connectivity/source/drivers/postgresql/pq_allocator.hxx
@@ -206,15 +206,4 @@ inline bool operator!= (const Allocator<T>&, const Allocator<U>&) SAL_THROW(())
} /* namespace sal */
-//######################################################
-/* REQUIRED BY STLPort (see stlport '_alloc.h'):
- Hack for compilers that do not support member
- template classes (e.g. MSVC 6) */
- template<class T, class U>
- inline pq_sdbc_driver::Allocator<U> & __stl_alloc_rebind (
- pq_sdbc_driver::Allocator<T> & a, U const *)
- {
- return (pq_sdbc_driver::Allocator<U>&)(a);
- }
-
#endif /* _PQ_ALLOCATOR_ */