diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-18 09:32:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-18 09:32:09 +0200 |
commit | 1ec822dd7c4d6abc4f1cd42bd398c53fe4897a4a (patch) | |
tree | d98c1cdc8f21c9d5c8725bc3937467b603ce1bf3 /odb/mysql/simple-object-statements.txx | |
parent | af2808859e7a98666785752b8069c473dda94a1f (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/mysql/simple-object-statements.txx')
-rw-r--r-- | odb/mysql/simple-object-statements.txx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/odb/mysql/simple-object-statements.txx b/odb/mysql/simple-object-statements.txx index 743d083..19d96d9 100644 --- a/odb/mysql/simple-object-statements.txx +++ b/odb/mysql/simple-object-statements.txx @@ -42,7 +42,6 @@ namespace odb object_statements<T>:: 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_, |