From 2731c14f6b16b8b40eb9b1c9061e6e296f3d49f8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 Oct 2012 14:47:57 +0200 Subject: Fix bug in transient inheritance handling Also test that we can handle it for objects, composite values, and views. --- odb/common.cxx | 4 ---- 1 file changed, 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_); -- cgit v1.1