diff options
Diffstat (limited to 'odb/relational/header.cxx')
-rw-r--r-- | odb/relational/header.cxx | 6 |
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 |