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/model.hxx | |
parent | c9531e4140c08dcb45f05698c5ff6d201f319e8f (diff) |
C++ type mapping support for container elementsas
Diffstat (limited to 'odb/relational/model.hxx')
-rw-r--r-- | odb/relational/model.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/relational/model.hxx b/odb/relational/model.hxx index 77631e2..00b3b46 100644 --- a/odb/relational/model.hxx +++ b/odb/relational/model.hxx @@ -702,7 +702,7 @@ namespace relational { bool f (false); //@@ (im)persfect forwarding. instance<object_columns> oc (model_, t, f); - oc->traverse (m, container_it (ct), "index", "index"); + oc->traverse (m, container_it (m), "index", "index"); } // This is a simple value so the name cannot be empty. It is @@ -751,7 +751,7 @@ namespace relational { bool f (false); //@@ (im)persfect forwarding. instance<object_columns> oc (model_, t, f); - oc->traverse (m, container_kt (ct), "key", "key"); + oc->traverse (m, container_kt (m), "key", "key"); } // value @@ -759,7 +759,7 @@ namespace relational { bool f (false); //@@ (im)persfect forwarding. instance<object_columns> oc (model_, t, f); - oc->traverse (m, container_vt (ct), "value", "value"); + oc->traverse (m, container_vt (m), "value", "value"); } } |