]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.h
make all d-pointer * const pointers
[apt.git] / apt-pkg / algorithms.h
index 9c9ceead4f091d11fd8210ad55dcbb539cc4aa96..d9cce672aa4774298eae4fd1dc4eeb1575527fb4 100644 (file)
@@ -54,7 +54,7 @@ using std::ostream;
 
 class pkgSimulate : public pkgPackageManager                           /*{{{*/
 {
-   void *d;
+   void * const d;
    protected:
 
    class Policy : public pkgDepCache::Policy
@@ -95,7 +95,7 @@ class pkgProblemResolver                                              /*{{{*/
 {
  private:
    /** \brief dpointer placeholder (for later in case we need it) */
-   void *d;
+   void * const d;
 
    pkgDepCache &Cache;
    typedef pkgCache::PkgIterator PkgIterator;