diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-06 18:05:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-06 18:05:19 +0200 |
commit | ce696c26d2c9dd5a5813fd865082ab19ac49bcfa (patch) | |
tree | c44331b2a6e6fa1d9d518ddff63e711ce5d308c4 /odb/mysql/inline.cxx | |
parent | 727a83dc82fa094aa91630d165d230a9a2dabe60 (diff) |
Add support for container persistence
Diffstat (limited to 'odb/mysql/inline.cxx')
-rw-r--r-- | odb/mysql/inline.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/odb/mysql/inline.cxx b/odb/mysql/inline.cxx index 47766e2..948caac 100644 --- a/odb/mysql/inline.cxx +++ b/odb/mysql/inline.cxx @@ -34,10 +34,7 @@ namespace mysql { string const& type (c.fq_name ()); string traits ("access::object_traits< " + type + " >"); - - id_member t; - t.traverse (c); - semantics::data_member& id (*t.member ()); + semantics::data_member& id (id_member (c)); os << "// " << c.name () << endl << "//" << endl |