diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 14:47:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 14:47:57 +0200 |
commit | 2731c14f6b16b8b40eb9b1c9061e6e296f3d49f8 (patch) | |
tree | 588d33f4e8ecc898b3b43c550ea3632a9a1ffa28 /odb/common.cxx | |
parent | 8d402f6711dd63e6b1caa968b14a6aa1321cafef (diff) |
Fix bug in transient inheritance handling
Also test that we can handle it for objects, composite values, and views.
Diffstat (limited to 'odb/common.cxx')
-rw-r--r-- | odb/common.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/odb/common.cxx b/odb/common.cxx index be8e6c5..34d8372 100644 --- a/odb/common.cxx +++ b/odb/common.cxx @@ -65,7 +65,6 @@ traverse (semantics::class_& c) { // Ignore transient bases. // - assert (context::top_object != 0); return; } else if (k == class_composite) @@ -366,10 +365,7 @@ traverse (semantics::class_& c) // Ignore transient bases. // if (k == class_other) - { - assert (context::top_object != 0); return; - } bool f (top_level_); |