summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/drivers/postgresql/pq_allocator.hxx11
-rw-r--r--sal/inc/rtl/allocator.hxx13
2 files changed, 0 insertions, 24 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_ */
diff --git a/sal/inc/rtl/allocator.hxx b/sal/inc/rtl/allocator.hxx
index a70abffe2eb7..9ceb3b7ffcbe 100644
--- a/sal/inc/rtl/allocator.hxx
+++ b/sal/inc/rtl/allocator.hxx
@@ -170,19 +170,6 @@ inline bool operator!= (const Allocator<T>&, const Allocator<U>&) SAL_THROW(())
} /* namespace rtl */
-/** REQUIRED BY STLPort (see stlport '_alloc.h'):
- Hack for compilers that do not support member
- template classes (e.g. MSVC 6)
-*/
-namespace _STL
-{
- template<class T, class U>
- inline ::rtl::Allocator<U> & __stl_alloc_rebind (::rtl::Allocator<T> & a, U const *)
- {
- return (::rtl::Allocator<U>&)(a);
- }
-}
-
/// @endcond
#endif /* INCLUDED_RTL_ALLOCATOR_HXX */