aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/examples/example_dep_label.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 /doc/api/cplusplus/examples/example_dep_label.cc
parentef75cff538e62392f02391329bad533ce9adf662 (diff)
downloadpaludis-68f2de2c2c795832607bfbe9249affd36faac431.tar.gz
paludis-68f2de2c2c795832607bfbe9249affd36faac431.tar.xz
Kill InstalledAction
Diffstat (limited to 'doc/api/cplusplus/examples/example_dep_label.cc')
-rw-r--r--doc/api/cplusplus/examples/example_dep_label.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/cplusplus/examples/example_dep_label.cc b/doc/api/cplusplus/examples/example_dep_label.cc
index e6a957bfd..bc019efb4 100644
--- a/doc/api/cplusplus/examples/example_dep_label.cc
+++ b/doc/api/cplusplus/examples/example_dep_label.cc
@@ -154,7 +154,8 @@ int main(int argc, char * argv[])
/* Fetch package IDs for all installed packages. */
std::tr1::shared_ptr<const PackageIDSequence> ids((*env)[selection::AllVersionsUnsorted(
- generator::All() | filter::SupportsAction<InstalledAction>())]);
+ generator::All() |
+ filter::InstalledAtRoot(FSEntry("/")))]);
/* Store a map from distfile name to whether it is fetch restricted. */
ResultsMap results;