aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_print_packages.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_print_packages.cc')
-rw-r--r--src/clients/cave/cmd_print_packages.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/cave/cmd_print_packages.cc b/src/clients/cave/cmd_print_packages.cc
index 499abc4c3..0fb64d43b 100644
--- a/src/clients/cave/cmd_print_packages.cc
+++ b/src/clients/cave/cmd_print_packages.cc
@@ -102,7 +102,7 @@ PrintPackagesCommand::run(
cmdline.a_repository.begin_args(), cmdline.a_repository.end_args(), stringify((*r)->name())))
continue;
- std::shared_ptr<const CategoryNamePartSet> categories((*r)->category_names());
+ std::shared_ptr<const CategoryNamePartSet> categories((*r)->category_names({ }));
for (CategoryNamePartSet::ConstIterator c(categories->begin()), c_end(categories->end());
c != c_end; ++c)
{
@@ -111,7 +111,7 @@ PrintPackagesCommand::run(
cmdline.a_category.begin_args(), cmdline.a_category.end_args(), stringify(*c)))
continue;
- std::shared_ptr<const QualifiedPackageNameSet> packages((*r)->package_names(*c));
+ std::shared_ptr<const QualifiedPackageNameSet> packages((*r)->package_names(*c, { }));
std::copy(packages->begin(), packages->end(), std::inserter(all_packages, all_packages.begin()));
}
}