aboutsummaryrefslogtreecommitdiff
path: root/paludis/filter.cc
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/filter.cc
parentef75cff538e62392f02391329bad533ce9adf662 (diff)
downloadpaludis-68f2de2c2c795832607bfbe9249affd36faac431.tar.gz
paludis-68f2de2c2c795832607bfbe9249affd36faac431.tar.xz
Kill InstalledAction
Diffstat (limited to 'paludis/filter.cc')
-rw-r--r--paludis/filter.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/paludis/filter.cc b/paludis/filter.cc
index 60f0853ed..1083841df 100644
--- a/paludis/filter.cc
+++ b/paludis/filter.cc
@@ -208,8 +208,7 @@ namespace
r != r_end ; ++r)
{
const std::tr1::shared_ptr<const Repository> repo(env->package_database()->fetch_repository(*r));
- if (repo->installed_root_key() && root == repo->installed_root_key()->value() &&
- repo->some_ids_might_support_action(SupportsActionTest<InstalledAction>()))
+ if (repo->installed_root_key() && root == repo->installed_root_key()->value())
result->insert(*r);
}
@@ -223,8 +222,7 @@ namespace
for (PackageIDSet::ConstIterator i(id->begin()), i_end(id->end()) ;
i != i_end ; ++i)
- if ((*i)->supports_action(SupportsActionTest<InstalledAction>()))
- result->insert(*i);
+ result->insert(*i);
return result;
}
@@ -425,7 +423,6 @@ paludis::operator<< (std::ostream & s, const Filter & f)
template class PrivateImplementationPattern<Filter>;
template class filter::SupportsAction<InstallAction>;
-template class filter::SupportsAction<InstalledAction>;
template class filter::SupportsAction<UninstallAction>;
template class filter::SupportsAction<PretendAction>;
template class filter::SupportsAction<ConfigAction>;