aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/examples/example_mask.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-11-13 00:01:03 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-11-13 15:42:28 +0000
commit635179144839fa31015fe85cd9226a655d217f03 (patch)
tree3756d05592232534a80d52fcc8e50ee7dc319768 /doc/api/cplusplus/examples/example_mask.cc
parent8ae61a8b1335efdaef0208a138b178ba221b4b18 (diff)
downloadpaludis-635179144839fa31015fe85cd9226a655d217f03.tar.gz
paludis-635179144839fa31015fe85cd9226a655d217f03.tar.xz
Add MatchPackageOptions.
Fixes: ticket:655
Diffstat (limited to 'doc/api/cplusplus/examples/example_mask.cc')
-rw-r--r--doc/api/cplusplus/examples/example_mask.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/cplusplus/examples/example_mask.cc b/doc/api/cplusplus/examples/example_mask.cc
index 87625e3ac..aefbee806 100644
--- a/doc/api/cplusplus/examples/example_mask.cc
+++ b/doc/api/cplusplus/examples/example_mask.cc
@@ -85,7 +85,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"))))]);
+ generator::Matches(make_package_dep_spec().package(QualifiedPackageName("sys-apps/paludis")), MatchPackageOptions()))]);
/* For each ID: */
for (PackageIDSet::ConstIterator i(ids->begin()), i_end(ids->end()) ;