aboutsummaryrefslogtreecommitdiff
path: root/evolution/data
diff options
context:
space:
mode:
Diffstat (limited to 'evolution/data')
-rw-r--r--evolution/data/driver.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/evolution/data/driver.cxx b/evolution/data/driver.cxx
index 7daa5c9..a31a9ec 100644
--- a/evolution/data/driver.cxx
+++ b/evolution/data/driver.cxx
@@ -48,16 +48,15 @@ migrate2 (database& db)
db.persist (o2);
}
-static const data_migration_entry migrate2_entry (3, &migrate2);
+static const data_migration_entry<3, 1> migrate2_entry (&migrate2);
int
main (int argc, char* argv[])
{
- schema_catalog::data_migration_function (3, &migrate1);
+ schema_catalog::data_migration_function<3, 1> (&migrate1);
#ifdef HAVE_CXX11
- schema_catalog::data_migration_function (
- 3,
+ schema_catalog::data_migration_function<3, 1> (
[] (database& db)
{
using namespace v2;