aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-13 18:02:44 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-13 18:02:44 +0100
commit68f2de2c2c795832607bfbe9249affd36faac431 (patch)
tree69be5cbe7045cca9ba271c732411f29fd750f8ce /paludis/repositories/virtuals
parentef75cff538e62392f02391329bad533ce9adf662 (diff)
downloadpaludis-68f2de2c2c795832607bfbe9249affd36faac431.tar.gz
paludis-68f2de2c2c795832607bfbe9249affd36faac431.tar.xz
Kill InstalledAction
Diffstat (limited to 'paludis/repositories/virtuals')
-rw-r--r--paludis/repositories/virtuals/installed_virtuals_repository.cc5
-rw-r--r--paludis/repositories/virtuals/package_id.cc7
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.cc5
3 files changed, 0 insertions, 17 deletions
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.cc b/paludis/repositories/virtuals/installed_virtuals_repository.cc
index 98bf8bdd8..3c6441736 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.cc
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.cc
@@ -255,11 +255,6 @@ namespace
{
struct SupportsActionQuery
{
- bool visit(const SupportsActionTest<InstalledAction> &) const
- {
- return true;
- }
-
bool visit(const SupportsActionTest<InstallAction> &) const
{
return false;
diff --git a/paludis/repositories/virtuals/package_id.cc b/paludis/repositories/virtuals/package_id.cc
index 1665a3c90..adab54499 100644
--- a/paludis/repositories/virtuals/package_id.cc
+++ b/paludis/repositories/virtuals/package_id.cc
@@ -392,13 +392,6 @@ namespace
throw UnsupportedActionError(*id, a);
}
- void visit(const InstalledAction & a)
- {
- SupportsActionTest<InstalledAction> t;
- if (! id->repository()->some_ids_might_support_action(t))
- throw UnsupportedActionError(*id, a);
- }
-
void visit(const UninstallAction & a)
{
SupportsActionTest<UninstallAction> t;
diff --git a/paludis/repositories/virtuals/virtuals_repository.cc b/paludis/repositories/virtuals/virtuals_repository.cc
index f88c59c12..5dcbaa3df 100644
--- a/paludis/repositories/virtuals/virtuals_repository.cc
+++ b/paludis/repositories/virtuals/virtuals_repository.cc
@@ -354,11 +354,6 @@ namespace
{
struct SupportsActionQuery
{
- bool visit(const SupportsActionTest<InstalledAction> &) const
- {
- return false;
- }
-
bool visit(const SupportsActionTest<InstallAction> &) const
{
return true;