aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/header.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-09-04 12:57:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-09-04 12:57:25 +0200
commitc93d7f6453f8aebdc80fba44032f692eb5da8a9c (patch)
tree441f2828cd354d925087a8728cab9a3ecfe8eee4 /odb/relational/header.cxx
parenta7094314a7f3c7453025061efeacb0d52e1866af (diff)
Container versioning support
Diffstat (limited to 'odb/relational/header.cxx')
-rw-r--r--odb/relational/header.cxx6
1 files changed, 5 insertions, 1 deletions
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