diff --git a/src/migration/MigrationInspectorFactory.hpp b/src/migration/MigrationInspectorFactory.hpp index 039a5dc76..2baa29e8b 100644 --- a/src/migration/MigrationInspectorFactory.hpp +++ b/src/migration/MigrationInspectorFactory.hpp @@ -54,7 +54,7 @@ makeMigrationInspector( // Database is empty, we need to initialize the migration table if it is a writeable backend if (not config.get("read_only") and not backend->hardFetchLedgerRangeNoThrow()) { - migration::MigratorStatus migrated(migration::MigratorStatus::Migrated); + migration::MigratorStatus const migrated(migration::MigratorStatus::Migrated); for (auto const& name : inspector->allMigratorsNames()) { backend->writeMigratorStatus(name, migrated.toString()); }