summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefilter.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-08-15 09:04:25 +0200
committerMichael Vogt <mvo@debian.org>2013-08-15 09:04:25 +0200
commit314a3f88fb099edd74e5899d8d95ef35984e7a24 (patch)
tree0c9392f0abb9b29d25060632a01be2fcf816958e /apt-pkg/cachefilter.h
parenta7737ad3a4e570052415628a02775e84894d897d (diff)
make destructors virtual
Diffstat (limited to 'apt-pkg/cachefilter.h')
-rw-r--r--apt-pkg/cachefilter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/cachefilter.h b/apt-pkg/cachefilter.h
index f55d5c7f7..ddd8df16e 100644
--- a/apt-pkg/cachefilter.h
+++ b/apt-pkg/cachefilter.h
@@ -33,7 +33,7 @@ public:
PackageNameMatchesRegEx(std::string const &Pattern);
virtual bool operator() (pkgCache::PkgIterator const &Pkg);
virtual bool operator() (pkgCache::GrpIterator const &Grp);
- ~PackageNameMatchesRegEx();
+ virtual ~PackageNameMatchesRegEx();
};
/*}}}*/
// PackageNameMatchesFnmatch /*{{{*/
@@ -46,7 +46,7 @@ public:
: Pattern(Pattern) {};
virtual bool operator() (pkgCache::PkgIterator const &Pkg);
virtual bool operator() (pkgCache::GrpIterator const &Grp);
- ~PackageNameMatchesFnmatch() {};
+ virtual ~PackageNameMatchesFnmatch() {};
};
/*}}}*/
// PackageArchitectureMatchesSpecification /*{{{*/
@@ -76,7 +76,7 @@ public:
bool operator() (char const * const &arch);
virtual bool operator() (pkgCache::PkgIterator const &Pkg);
virtual bool operator() (pkgCache::VerIterator const &Ver);
- ~PackageArchitectureMatchesSpecification();
+ virtual ~PackageArchitectureMatchesSpecification();
};
/*}}}*/
}