From f5cd2dbfc493127b18d9ea2b0bb258b736b91cd4 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 29 May 2010 19:10:19 +0200 Subject: * ftparchive/writer.h: - add a virtual destructor to FTWScanner class (for cppcheck) --- debian/changelog | 4 +++- ftparchive/writer.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index e8c1f9596..2755e7c5f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,8 +20,10 @@ apt (0.7.26~exp6) UNRELEASED; urgency=low - let pkgCache::Iterator inherent std::iterator * apt-pkg/depcache.cc: - correct "Dangerous iterator usage." pointed out by cppcheck + * ftparchive/writer.h: + - add a virtual destructor to FTWScanner class (for cppcheck) - -- David Kalnischkies Sat, 29 May 2010 19:02:12 +0200 + -- David Kalnischkies Sat, 29 May 2010 19:09:05 +0200 apt (0.7.26~exp5) experimental; urgency=low diff --git a/ftparchive/writer.h b/ftparchive/writer.h index 3123a7f46..c08ddea85 100644 --- a/ftparchive/writer.h +++ b/ftparchive/writer.h @@ -72,6 +72,7 @@ class FTWScanner bool SetExts(string const &Vals); FTWScanner(string const &Arch = string()); + virtual ~FTWScanner(); }; class TranslationWriter -- cgit v1.2.3