aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-06 14:45:57 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-06 14:45:57 +0000
commitceca955ba1c180ee7964adf8d451218b26b55a54 (patch)
tree1b7d0a5435f9763213c8343a837d08382b530fe7
parent12a818efe70650e7f1bc300651c687ffd225df05 (diff)
downloadpaludis-ceca955ba1c180ee7964adf8d451218b26b55a54.tar.gz
paludis-ceca955ba1c180ee7964adf8d451218b26b55a54.tar.xz
Overlay mirrors override master
Fixes: ticket:1059
-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 ad6b565..1c7ec40 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;
}
}
}