aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/simple-object-statements.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-06-18 09:32:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-06-18 09:32:09 +0200
commitd654146abfd45870c9bb0c1a5779d51b0aff2973 (patch)
treec11673177dcaf5f8e6f2584b84415a96461daba8 /odb/pgsql/simple-object-statements.txx
parent51c80ddaaaa7ddd1bd3708dc36289e322f30939e (diff)
Allocate container traits lazily and only when their definition is seen
This fixes a problem with polymorphic hierarchies spread over multiple files in which case the source code for the derived class does not have the definition of the container traits for the base class. See the comment in the source code for further details.
Diffstat (limited to 'odb/pgsql/simple-object-statements.txx')
-rw-r--r--odb/pgsql/simple-object-statements.txx1
1 files changed, 0 insertions, 1 deletions
diff --git a/odb/pgsql/simple-object-statements.txx b/odb/pgsql/simple-object-statements.txx
index 1fcd104..fe9fe9b 100644
--- a/odb/pgsql/simple-object-statements.txx
+++ b/odb/pgsql/simple-object-statements.txx
@@ -46,7 +46,6 @@ namespace odb
object_statements<T>::
object_statements (connection_type& conn)
: object_statements_base (conn),
- container_statement_cache_ (conn),
// select
select_image_binding_ (select_image_bind_, select_column_count),
// insert