16 lines
461 B
Diff
16 lines
461 B
Diff
|
--- connectivity/source/drivers/postgresql/pq_allocator.hxx.old 2011-08-18 20:20:44.000000000 +0200
|
||
|
+++ connectivity/source/drivers/postgresql/pq_allocator.hxx 2011-08-18 20:20:44.000000000 +0200
|
||
|
@@ -176,6 +176,12 @@ public:
|
||
|
}
|
||
|
|
||
|
//-----------------------------------------
|
||
|
+ void construct (pointer p)
|
||
|
+ {
|
||
|
+ new ((void*)p)T;
|
||
|
+ }
|
||
|
+
|
||
|
+ //-----------------------------------------
|
||
|
void destroy (pointer p)
|
||
|
{
|
||
|
p->~T();
|