aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals/virtuals_repository.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-18 20:20:00 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-18 20:20:00 +0000
commit48ad42d9704de00384315636f4e57bcae2592a54 (patch)
tree4fcfb10bbd762452d856c34ce5e592da61e5c803 /paludis/repositories/virtuals/virtuals_repository.cc
parent8195cdfd79b672c2097a4c652b8ebfaf6d8031a5 (diff)
downloadpaludis-48ad42d9704de00384315636f4e57bcae2592a54.tar.gz
paludis-48ad42d9704de00384315636f4e57bcae2592a54.tar.xz
Remove invalidate_masks
Diffstat (limited to 'paludis/repositories/virtuals/virtuals_repository.cc')
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/paludis/repositories/virtuals/virtuals_repository.cc b/paludis/repositories/virtuals/virtuals_repository.cc
index c2270aed2..86dec7938 100644
--- a/paludis/repositories/virtuals/virtuals_repository.cc
+++ b/paludis/repositories/virtuals/virtuals_repository.cc
@@ -316,17 +316,6 @@ VirtualsRepository::invalidate()
_imp.reset(new Imp<VirtualsRepository>(_imp->env, _imp->big_nasty_mutex));
}
-void
-VirtualsRepository::invalidate_masks()
-{
- Lock l(*_imp->big_nasty_mutex);
-
- for (IDMap::iterator it(_imp->ids.begin()), it_end(_imp->ids.end()); it_end != it; ++it)
- for (PackageIDSequence::ConstIterator it2(it->second->begin()), it2_end(it->second->end());
- it2_end != it2; ++it2)
- (*it2)->invalidate_masks();
-}
-
const std::shared_ptr<const PackageID>
VirtualsRepository::make_virtual_package_id(
const QualifiedPackageName & virtual_name, const std::shared_ptr<const PackageID> & provider) const