Skip to content

Commit

Permalink
style: clang-tidy auto fixes (#1845)
Browse files Browse the repository at this point in the history
Fixes #1844. Please review and commit clang-tidy fixes.

Co-authored-by: kuznetsss <[email protected]>
  • Loading branch information
github-actions[bot] and kuznetsss authored Jan 22, 2025
1 parent 278f7b1 commit f9d9879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/migration/MigrationInspectorFactory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<bool>("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());
}
Expand Down

0 comments on commit f9d9879

Please sign in to comment.