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 f07b76fb5..59ef434a2 100644
--- a/src/clients/cave/cmd_print_packages.cc
+++ b/src/clients/cave/cmd_print_packages.cc
@@ -24,10 +24,10 @@
#include <paludis/args/args.hh>
#include <paludis/args/do_help.hh>
#include <paludis/environment.hh>
-#include <paludis/package_database.hh>
#include <paludis/repository.hh>
#include <paludis/util/wrapped_forward_iterator.hh>
#include <paludis/util/set.hh>
+#include <paludis/util/stringify.hh>
#include <iostream>
#include <cstdlib>
@@ -94,7 +94,7 @@ PrintPackagesCommand::run(
std::set<QualifiedPackageName> all_packages;
- for (PackageDatabase::RepositoryConstIterator r(env->package_database()->begin_repositories()), r_end(env->package_database()->end_repositories());
+ for (auto r(env->begin_repositories()), r_end(env->end_repositories());
r != r_end; ++r)
{
if (cmdline.a_repository.specified())