]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-worker.h
make all d-pointer * const pointers
[apt.git] / apt-pkg / acquire-worker.h
index b8e8fefed4230de6395a2b9fa42ca9751cad049e..42762abe0427ee1c404c050f7495ae305a9477c4 100644 (file)
@@ -47,7 +47,7 @@
 class pkgAcquire::Worker : public WeakPointable
 {
    /** \brief dpointer placeholder (for later in case we need it) */
-   void *d;
+   void * const d;
   
    friend class pkgAcquire;
    
@@ -317,7 +317,7 @@ class pkgAcquire::Worker : public WeakPointable
     *  \param Config A location in which to store information about
     *  the fetch method.
     */
-   Worker(MethodConfig *Config);
+   explicit Worker(MethodConfig *Config);
 
    /** \brief Clean up this worker.
     *