aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/type-processor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/type-processor.cxx')
-rw-r--r--odb/relational/type-processor.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/odb/relational/type-processor.cxx b/odb/relational/type-processor.cxx
index 24a7325..e53126f 100644
--- a/odb/relational/type-processor.cxx
+++ b/odb/relational/type-processor.cxx
@@ -195,7 +195,8 @@ namespace relational
// See if this is a container type.
//
- if (process_container (m))
+ if (process_container (m, t) ||
+ (wt != 0 && process_container (m, *wt)))
return;
// If it is none of the above then we have an error.
@@ -306,7 +307,7 @@ namespace relational
}
bool
- process_container (semantics::data_member& m)
+ process_container (semantics::data_member& m, semantics::type& t)
{
// The overall idea is as follows: try to instantiate the container
// traits class template. If we are successeful, then this is a
@@ -314,8 +315,6 @@ namespace relational
// the instantiation. Otherwise, this is not a container.
//
- semantics::type& t (m.type ());
-
container_kind_type ck;
semantics::type* vt (0);
semantics::type* it (0);