aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/examples/example_package_id.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-05-19 21:09:05 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-05-19 21:09:05 +0100
commitc1a470d25af8d37269144b3a5df228962919790f (patch)
tree5bc9eccca4914e08da4e55703a2a095cb61e4a34 /doc/api/cplusplus/examples/example_package_id.cc
parent8fb5cc6bfdd43b59a3220ff11bfe9a45b46896cd (diff)
downloadpaludis-c1a470d25af8d37269144b3a5df228962919790f.tar.gz
paludis-c1a470d25af8d37269144b3a5df228962919790f.tar.xz
Preserve whether we hate non-ranged deps
Diffstat (limited to 'doc/api/cplusplus/examples/example_package_id.cc')
-rw-r--r--doc/api/cplusplus/examples/example_package_id.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/cplusplus/examples/example_package_id.cc b/doc/api/cplusplus/examples/example_package_id.cc
index 80668707e..d05846b2c 100644
--- a/doc/api/cplusplus/examples/example_package_id.cc
+++ b/doc/api/cplusplus/examples/example_package_id.cc
@@ -47,7 +47,7 @@ int main(int argc, char * argv[])
/* Fetch package IDs for 'sys-apps/paludis'. */
std::tr1::shared_ptr<const PackageIDSequence> ids((*env)[selection::AllVersionsSorted(
- generator::Matches(make_package_dep_spec().package(QualifiedPackageName("sys-apps/paludis")), MatchPackageOptions()))]);
+ generator::Package(QualifiedPackageName("sys-apps/paludis")))]);
/* For each ID: */
for (PackageIDSet::ConstIterator i(ids->begin()), i_end(ids->end()) ;