diff options
Diffstat (limited to 'src/other_tools/just_mr/mirrors.hpp')
-rw-r--r-- | src/other_tools/just_mr/mirrors.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/other_tools/just_mr/mirrors.hpp b/src/other_tools/just_mr/mirrors.hpp index 7480a839..41351bbb 100644 --- a/src/other_tools/just_mr/mirrors.hpp +++ b/src/other_tools/just_mr/mirrors.hpp @@ -158,7 +158,7 @@ namespace MirrorsUtils { CurlURLHandle::GetHostname(mirror).value_or(std::string{}); auto it = mirrors_by_hostname.find(hostname); if (it != mirrors_by_hostname.end()) { - mirrors_by_hostname.at(hostname).emplace_back(mirror); + it->second.emplace_back(mirror); } else { // add missing or unknown hostnames to fallback list with key "" |