diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-11-27 14:41:16 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-11-28 20:53:40 +0200 |
commit | a3ce60eb3c8bb5c69ab41556398efa8316286477 (patch) | |
tree | a9600fdf96ab53a1aef150fd9c4a1e8c23b9eb90 /connectivity | |
parent | abfe16cec61eae33c64cb1901f0fc740b0466f60 (diff) |
We only support MSVC 2008 (_MSC_VER 1500) or later
We can drop or simplify many conditionals.
Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_allocator.hxx | 11 |
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 dadeb8ee4293..78d1dfa3db9a 100644 --- a/connectivity/source/drivers/postgresql/pq_allocator.hxx +++ b/connectivity/source/drivers/postgresql/pq_allocator.hxx @@ -210,22 +210,11 @@ inline bool operator!= (const Allocator<T>&, const Allocator<U>&) SAL_THROW(()) /* REQUIRED BY STLPort (see stlport '_alloc.h'): Hack for compilers that do not support member template classes (e.g. MSVC 6) */ -#if defined (_MSC_VER) -#if (_MSC_VER < 1400) // MSVC 6 -namespace _STL -{ -#endif -#endif 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); } -#if defined (_MSC_VER) -#if (_MSC_VER < 1400) // MSVC 6 -} -#endif -#endif #endif /* _PQ_ALLOCATOR_ */ |