diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-22 14:07:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-22 14:07:32 +0200 |
commit | 587db8c7ca28d5cd1722307073aa31aed5b89d0a (patch) | |
tree | b5295accedf2cd946d5df22ed5fbfa78290e89dc /odb/relational/common.hxx | |
parent | 584f3602038919957f62848a03deb5b5bd9cc9ba (diff) |
Initial support for non-polymorphic inheritance
Every class gets a separate table. New test: common/inheritance.
Diffstat (limited to 'odb/relational/common.hxx')
-rw-r--r-- | odb/relational/common.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/odb/relational/common.hxx b/odb/relational/common.hxx index c7c1c44..6d8ef1a 100644 --- a/odb/relational/common.hxx +++ b/odb/relational/common.hxx @@ -68,12 +68,14 @@ namespace relational } virtual void - composite (semantics::data_member&, semantics::class_&); + object (semantics::class_&); + + virtual void + composite (semantics::data_member*, semantics::class_&); virtual bool column (semantics::data_member&, string const&, bool); - protected: bool ptr_; bool decl_; |