diff options
Diffstat (limited to 'odb/relational/source.cxx')
-rw-r--r-- | odb/relational/source.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/odb/relational/source.cxx b/odb/relational/source.cxx index be16309..749e0d6 100644 --- a/odb/relational/source.cxx +++ b/odb/relational/source.cxx @@ -259,10 +259,12 @@ namespace relational { using semantics::type; - type* t (&context::utype (*m)); + type* t; - if (type* c = context::container_wrapper (*t)) + if (type* c = context::container (*m)) t = &context::container_vt (*c); + else + t = &context::utype (*m); if (context::object_pointer (*t)) return e; |