]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/clean.h
tests: don't do boundless string compares with data()
[apt.git] / apt-pkg / clean.h
index 466cb67a92d0d143f71b83c79912618db93b3a59..6cedae0869a7811426273c9bca57e51cbddc21a7 100644 (file)
@@ -21,7 +21,7 @@ class pkgCache;
 class pkgArchiveCleaner
 {
    /** \brief dpointer placeholder (for later in case we need it) */
-   void *d;
+   void * const d;
 
    protected:
 
@@ -30,6 +30,8 @@ class pkgArchiveCleaner
    public:
 
    bool Go(std::string Dir,pkgCache &Cache);
+
+   pkgArchiveCleaner();
    virtual ~pkgArchiveCleaner();
 };