From 31995832803d21aad266258d5cc1022bc086c2b7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Jun 2012 09:32:09 +0200 Subject: 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. --- odb/sqlite/simple-object-statements.txx | 1 - 1 file changed, 1 deletion(-) (limited to 'odb/sqlite/simple-object-statements.txx') diff --git a/odb/sqlite/simple-object-statements.txx b/odb/sqlite/simple-object-statements.txx index 995aca6..8c61d5d 100644 --- a/odb/sqlite/simple-object-statements.txx +++ b/odb/sqlite/simple-object-statements.txx @@ -42,7 +42,6 @@ namespace odb object_statements:: object_statements (connection_type& conn) : object_statements_base (conn), - container_statement_cache_ (conn), select_image_binding_ (select_image_bind_, select_column_count), insert_image_binding_ (insert_image_bind_, insert_column_count), update_image_binding_ (update_image_bind_, -- cgit v1.1