diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-05-29 19:10:19 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-05-29 19:10:19 +0200 |
commit | f5cd2dbfc493127b18d9ea2b0bb258b736b91cd4 (patch) | |
tree | 2b14e76872b8d1c0b873407a46aa45e88678eba1 | |
parent | 461e4a5e0d30549e5b9758ce816027d92747f00d (diff) |
* ftparchive/writer.h:
- add a virtual destructor to FTWScanner class (for cppcheck)
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | ftparchive/writer.h | 1 |
2 files changed, 4 insertions, 1 deletions
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 <kalnischkies@gmail.com> Sat, 29 May 2010 19:02:12 +0200 + -- David Kalnischkies <kalnischkies@gmail.com> 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 |