aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/repositories/e/e_repository.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/e_repository.cc b/paludis/repositories/e/e_repository.cc
index ad6b565f3..1c7ec4034 100644
--- a/paludis/repositories/e/e_repository.cc
+++ b/paludis/repositories/e/e_repository.cc
@@ -736,7 +736,7 @@ ERepository::need_mirrors() const
e_end(ee.end()) ; e != e_end ; ++e)
ms->push_back(*e);
- _imp->mirrors.insert(std::make_pair(ee.at(0), ms));
+ _imp->mirrors.insert(std::make_pair(ee.at(0), ms)).first->second = ms;
}
}
}