]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/cachefilter.h
[ABI-Break] remove the PACKAGE_MATCHER_ABI_COMPAT defines
[apt.git] / apt-pkg / cachefilter.h
index f55d5c7f7be27d5d9a2503d89fc46bd2b758f3d9..8e8776ed9a4af8d1a173a29a7db4c165de4e9b57 100644 (file)
@@ -33,11 +33,11 @@ public:
        PackageNameMatchesRegEx(std::string const &Pattern);
        virtual bool operator() (pkgCache::PkgIterator const &Pkg);
        virtual bool operator() (pkgCache::GrpIterator const &Grp);
-       ~PackageNameMatchesRegEx();
+       virtual ~PackageNameMatchesRegEx();
 };
                                                                        /*}}}*/
 // PackageNameMatchesFnmatch                                           /*{{{*/
- class PackageNameMatchesFnmatch : public PackageMatcher{
  class PackageNameMatchesFnmatch : public PackageMatcher{
          /** \brief dpointer placeholder (for later in case we need it) */
          void *d;
          const std::string Pattern;
@@ -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();
 };
                                                                        /*}}}*/
 }