]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/cdrom.h
ensure Cnf::FindFile doesn't return files below /dev/null
[apt.git] / apt-pkg / cdrom.h
index 5626b5059e9ed4d9c38921970421117db66cdae9..ab1e046bf8407e918dd51f022f94f104212143c3 100644 (file)
@@ -18,7 +18,7 @@ class OpProgress;
 
 class pkgCdromStatus                                                   /*{{{*/
 {
-   void *d;
+   void * const d;
  protected:
    int totalSteps;
 
@@ -79,7 +79,7 @@ class pkgCdrom                                                                /*{{{*/
    virtual ~pkgCdrom();
 
  private:
-   void *d;
+   void * const d;
 
    APT_HIDDEN bool MountAndIdentCDROM(Configuration &Database, std::string &CDROM,
         std::string &ident, pkgCdromStatus * const log, bool const interactive);
@@ -98,7 +98,7 @@ struct CdromDevice                                                    /*{{{*/
                                                                        /*}}}*/
 class pkgUdevCdromDevices                                              /*{{{*/
 {
-   void *d;
+   void * const d;
  protected:
    // libudev dlopen structure
    void *libudev_handle;