From c93d7f6453f8aebdc80fba44032f692eb5da8a9c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 4 Sep 2013 12:57:25 +0200 Subject: Container versioning support --- odb/relational/header.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'odb/relational/header.cxx') diff --git a/odb/relational/header.cxx b/odb/relational/header.cxx index f3df52b..8c37eb0 100644 --- a/odb/relational/header.cxx +++ b/odb/relational/header.cxx @@ -657,7 +657,11 @@ traverse_object (type& c) os << "static void" << endl << "load_ (statements_type&," << endl << "object_type&," << endl - << "bool reload = false"; + << "bool reload"; + + if (versioned) + os << "," << endl + << "const schema_version_migration&"; if (poly_derived) os << "," << endl -- cgit v1.1