aboutsummaryrefslogtreecommitdiff
path: root/odb/context.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-04-25 15:02:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-04-25 15:02:43 +0200
commit1a6a0652a6ef5b319cfc8ad05a0acee6910f7560 (patch)
tree40605db91ed90c342a9074308bd7406008b4f10b /odb/context.cxx
parent9c5b2f928699a6752d7c3d1a062bac7efc247c64 (diff)
Add support for abstract object types
Diffstat (limited to 'odb/context.cxx')
-rw-r--r--odb/context.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/context.cxx b/odb/context.cxx
index 8a85dcd..d281090 100644
--- a/odb/context.cxx
+++ b/odb/context.cxx
@@ -113,6 +113,7 @@ context (ostream& os_,
keyword_set (data_->keyword_set_),
embedded_schema (ops.generate_schema () &&
ops.schema_format ().count (schema_format::embedded)),
+ top_object (data_->top_object_),
object (data_->object_)
{
assert (current_ == 0);
@@ -131,6 +132,7 @@ context ()
db (current ().db),
keyword_set (current ().keyword_set),
embedded_schema (current ().embedded_schema),
+ top_object (current ().top_object),
object (current ().object)
{
}