diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-02 11:43:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-02 11:43:37 +0200 |
commit | 1d438c0c211d21e33f3eec833a307416000b32a2 (patch) | |
tree | 38789fbe5e0dcae6f61d6f7c41d55459ec6e35e7 /odb/relational/source.cxx | |
parent | c9531e4140c08dcb45f05698c5ff6d201f319e8f (diff) |
C++ type mapping support for container elementsas
Diffstat (limited to 'odb/relational/source.cxx')
-rw-r--r-- | odb/relational/source.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/relational/source.cxx b/odb/relational/source.cxx index 60d3b34..83e3c40 100644 --- a/odb/relational/source.cxx +++ b/odb/relational/source.cxx @@ -4655,8 +4655,8 @@ traverse_view (type& c) // semantics::class_* c (0); - if (semantics::type* cont = container (m)) - c = object_pointer (container_vt (*cont)); + if (container (m)) + c = object_pointer (container_vt (m)); else c = object_pointer (utype (m)); @@ -5899,8 +5899,8 @@ namespace relational type* t; - if (type* c = context::container (*m)) - t = &context::container_vt (*c); + if (context::container (*m)) + t = &context::container_vt (*m); else t = &context::utype (*m); |