diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-10-30 17:40:39 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-10-30 17:40:39 +0300 |
commit | 2fbdfa4d3df7c09d82bd2c5685420eee5d6dea18 (patch) | |
tree | 9c7ec8bad0ba29739af887f995c95b648469242f /migrate | |
parent | 873987793b05fc0d6e9908f5030b2bca145c4e6d (diff) |
Fix to compile with g++ 4.9
Diffstat (limited to 'migrate')
-rw-r--r-- | migrate/migrate.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/migrate/migrate.cxx b/migrate/migrate.cxx index d33578a..ad5ea17 100644 --- a/migrate/migrate.cxx +++ b/migrate/migrate.cxx @@ -207,14 +207,14 @@ create (database& db, bool extra_only) const // Register the data migration functions for the package database schema. // -template <odb::schema_version v> +template <schema_version v> using package_migration_entry_base = - odb::data_migration_entry<v, LIBBREP_PACKAGE_SCHEMA_VERSION_BASE>; + data_migration_entry<v, LIBBREP_PACKAGE_SCHEMA_VERSION_BASE>; -template <odb::schema_version v> +template <schema_version v> struct package_migration_entry: package_migration_entry_base<v> { - package_migration_entry (void (*f) (odb::database& db)) + package_migration_entry (void (*f) (database& db)) : package_migration_entry_base<v> (f, "package") {} }; @@ -222,7 +222,7 @@ struct package_migration_entry: package_migration_entry_base<v> // data migration for this schema version. // static const package_migration_entry<9> -package_migrate_v9 ([] (odb::database& db) +package_migrate_v9 ([] (database& db) { // Add tenant objects. // |