diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-09-19 14:27:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-09-19 14:27:33 +0200 |
commit | bba30281f89fbd30e898071a103643be924f001d (patch) | |
tree | e5709d03b6f49222246a238c465fb4296c497e07 /odb/common-query.hxx | |
parent | 2b37a169566114c498e8a83c7c3af8a30ab9d3d7 (diff) |
Avoid clashes between nested composites in query columns
Diffstat (limited to 'odb/common-query.hxx')
-rw-r--r-- | odb/common-query.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/common-query.hxx b/odb/common-query.hxx index 066e88d..e0bad6e 100644 --- a/odb/common-query.hxx +++ b/odb/common-query.hxx @@ -143,6 +143,9 @@ struct query_columns: object_columns_base, virtual context virtual void traverse_pointer (semantics::data_member&, semantics::class_&); + static string + depth_suffix (size_t); + protected: bool decl_; bool ptr_; @@ -151,6 +154,7 @@ protected: string fq_name_; bool resue_abstract_; // Object is reuse-abstract. string scope_; + size_t depth_; }; // Generate the list of base classes for the query_columns or |