diff options
Diffstat (limited to 'doc/api/cplusplus/examples/example_match_package.cc')
-rw-r--r-- | doc/api/cplusplus/examples/example_match_package.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/cplusplus/examples/example_match_package.cc b/doc/api/cplusplus/examples/example_match_package.cc index 9bad07ca9..741fa9e30 100644 --- a/doc/api/cplusplus/examples/example_match_package.cc +++ b/doc/api/cplusplus/examples/example_match_package.cc @@ -42,7 +42,7 @@ int main(int argc, char * argv[]) /* Fetch all installed packages. */ std::shared_ptr<const PackageIDSequence> ids((*env)[selection::AllVersionsSorted( generator::All() | - filter::InstalledAtRoot(FSEntry("/")))]); + filter::InstalledAtSlash())]); /* Fetch the 'system' and 'world' sets. Ordinarily we should check for * zero pointers here, but these two sets will always exist. */ |