CI: Update github action to avoid deprecation warning
[cygwin-setup.git] / package_depends.cc
bloba03f5a02e180e9a147b4f3417fa71b2289bdd888
1 /*
2 * Copyright (c) 2017 Jon Turney
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
14 #include <package_depends.h>
15 #include <LogSingleton.h>
17 void
18 dumpPackageDepends (PackageDepends const &currentList,
19 std::ostream &logger)
21 Log (LOG_BABBLE) << "( ";
22 PackageDepends::const_iterator i = currentList.begin();
23 while (true)
25 if (i == currentList.end()) break;
26 Log (LOG_BABBLE) << **i << " ";
27 ++i;
29 Log (LOG_BABBLE) << ")";