diff options
Diffstat (limited to 'src/other_tools/just_mr/setup.cpp')
-rw-r--r-- | src/other_tools/just_mr/setup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/other_tools/just_mr/setup.cpp b/src/other_tools/just_mr/setup.cpp index ba22936d..0c884d86 100644 --- a/src/other_tools/just_mr/setup.cpp +++ b/src/other_tools/just_mr/setup.cpp @@ -366,7 +366,7 @@ auto MultiRepoSetup(std::shared_ptr<Configuration> const& config, nlohmann::json mr_repos{}; for (auto const& repo : setup_repos->to_setup) { auto i = static_cast<std::size_t>( - &repo - &setup_repos->to_setup[0]); // get index + &repo - setup_repos->to_setup.data()); // get index mr_repos[repo] = *values[i]; } // populate ALT_DIRS |