From 030af3e7af210617df00bf850476df6b46fb004d Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 30 Sep 2024 16:16:20 +0200 Subject: Enable readability-* checks. --- src/other_tools/just_mr/update.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/other_tools/just_mr/update.cpp') diff --git a/src/other_tools/just_mr/update.cpp b/src/other_tools/just_mr/update.cpp index 1c1626eb..587a0f8f 100644 --- a/src/other_tools/just_mr/update.cpp +++ b/src/other_tools/just_mr/update.cpp @@ -257,7 +257,7 @@ auto MultiRepoUpdate(std::shared_ptr const& config, for (auto const& repo_name : repos_to_update_names) { auto i = static_cast( &repo_name - - &repos_to_update_names[0]); // get index + repos_to_update_names.data()); // get index // we know "repository" is a map for repo_name, so // field "commit" is here either overwritten or set if // missing; either way, this should always work -- cgit v1.2.3