aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/virtuals')
-rw-r--r--paludis/repositories/virtuals/installed_virtuals_repository.cc5
-rw-r--r--paludis/repositories/virtuals/installed_virtuals_repository.hh2
-rw-r--r--paludis/repositories/virtuals/package_id.cc12
-rw-r--r--paludis/repositories/virtuals/package_id.hh2
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.cc11
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.hh2
6 files changed, 0 insertions, 34 deletions
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.cc b/paludis/repositories/virtuals/installed_virtuals_repository.cc
index 06f223bc9..413b8bf55 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.cc
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.cc
@@ -223,11 +223,6 @@ InstalledVirtualsRepository::invalidate()
_imp.reset(new Imp<InstalledVirtualsRepository>(_imp->env, _imp->root, _imp->ids_mutex));
}
-void
-InstalledVirtualsRepository::invalidate_masks()
-{
-}
-
HookResult
InstalledVirtualsRepository::perform_hook(const Hook & hook, const std::shared_ptr<OutputManager> &)
{
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.hh b/paludis/repositories/virtuals/installed_virtuals_repository.hh
index d946e217c..037232d03 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.hh
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.hh
@@ -78,8 +78,6 @@ namespace paludis
virtual void invalidate();
- virtual void invalidate_masks();
-
virtual bool can_be_favourite_repository() const;
virtual const bool is_unimportant() const;
diff --git a/paludis/repositories/virtuals/package_id.cc b/paludis/repositories/virtuals/package_id.cc
index d96ec3d34..dcad0e4b6 100644
--- a/paludis/repositories/virtuals/package_id.cc
+++ b/paludis/repositories/virtuals/package_id.cc
@@ -501,18 +501,6 @@ VirtualsPackageID::need_masks_added() const
_imp->has_masks = true;
}
-void
-VirtualsPackageID::invalidate_masks() const
-{
- Lock l(_imp->mutex);
-
- if (! _imp->has_masks)
- return;
-
- _imp->has_masks = false;
- PackageID::invalidate_masks();
-}
-
std::shared_ptr<const Set<std::string> >
VirtualsPackageID::breaks_portage() const
{
diff --git a/paludis/repositories/virtuals/package_id.hh b/paludis/repositories/virtuals/package_id.hh
index ef1f5f2ee..3c179158d 100644
--- a/paludis/repositories/virtuals/package_id.hh
+++ b/paludis/repositories/virtuals/package_id.hh
@@ -115,8 +115,6 @@ namespace paludis
PALUDIS_ATTRIBUTE((warn_unused_result));
virtual std::shared_ptr<const Set<std::string> > breaks_portage() const PALUDIS_ATTRIBUTE((warn_unused_result));
-
- virtual void invalidate_masks() const;
};
}
}
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
diff --git a/paludis/repositories/virtuals/virtuals_repository.hh b/paludis/repositories/virtuals/virtuals_repository.hh
index e1029609a..c83a299ff 100644
--- a/paludis/repositories/virtuals/virtuals_repository.hh
+++ b/paludis/repositories/virtuals/virtuals_repository.hh
@@ -78,8 +78,6 @@ namespace paludis
virtual void invalidate();
- virtual void invalidate_masks();
-
virtual bool can_be_favourite_repository() const;
virtual const bool is_unimportant() const;