diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-19 13:47:18 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-19 13:47:18 +0200 |
commit | 7615f4dd87092aec82569bce68d75efcb82a90ae (patch) | |
tree | 5e64c96a12317be6ea381b512a7513203457273d /odb/mysql | |
parent | cd804ef787b1225f3bc59f845bbe66c98b5c1013 (diff) |
Prevent nested class/typedef traversal
Diffstat (limited to 'odb/mysql')
-rw-r--r-- | odb/mysql/header.cxx | 2 | ||||
-rw-r--r-- | odb/mysql/inline.cxx | 2 | ||||
-rw-r--r-- | odb/mysql/source.cxx | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/odb/mysql/header.cxx b/odb/mysql/header.cxx index 8239d55..5e64c12 100644 --- a/odb/mysql/header.cxx +++ b/odb/mysql/header.cxx @@ -198,8 +198,6 @@ namespace mysql { class_ (context& c) : context (c), - id_member_ (c), - member_count_ (c), image_type_ (c), id_image_type_ (c), query_column_ (c) diff --git a/odb/mysql/inline.cxx b/odb/mysql/inline.cxx index 1bb5fef..4a1fffa 100644 --- a/odb/mysql/inline.cxx +++ b/odb/mysql/inline.cxx @@ -29,7 +29,7 @@ namespace mysql string const& type (c.fq_name ()); string traits ("access::object_traits< " + type + " >"); - id_member t (*this); + id_member t; t.traverse (c); semantics::data_member& id (*t.member ()); diff --git a/odb/mysql/source.cxx b/odb/mysql/source.cxx index 9d47541..9cf69b1 100644 --- a/odb/mysql/source.cxx +++ b/odb/mysql/source.cxx @@ -631,8 +631,6 @@ namespace mysql { class_ (context& c) : context (c), - id_member_ (c), - member_count_ (c), init_image_member_ (c, false), init_id_image_member_ (c, true), init_value_member_ (c) |