summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmdline/apt-cache.cc2
-rw-r--r--ftparchive/writer.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index 95f185b4f..943a001a8 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -1595,7 +1595,7 @@ bool Policy(CommandLine &CmdL)
{
pkgCache::PkgIterator Pkg = I.Group().FindPkg("any");
- for (; Pkg.end() != true; Pkg = Grp.NextPkg(Pkg)) {
+ for (; Pkg.end() != true; Pkg = I.Group().NextPkg(Pkg)) {
if (strcmp(Pkg.Arch(),"all") == 0)
continue;
diff --git a/ftparchive/writer.h b/ftparchive/writer.h
index c08ddea85..49d430c47 100644
--- a/ftparchive/writer.h
+++ b/ftparchive/writer.h
@@ -72,7 +72,7 @@ class FTWScanner
bool SetExts(string const &Vals);
FTWScanner(string const &Arch = string());
- virtual ~FTWScanner();
+ virtual ~FTWScanner() {};
};
class TranslationWriter