]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgrecords.h
make all d-pointer * const pointers
[apt.git] / apt-pkg / pkgrecords.h
index 766e845aa5923b85786c98ea633740a6a241be3e..9e10409e47238fd1592b2db797f0603087211f33 100644 (file)
@@ -31,7 +31,7 @@ class pkgRecords                                                      /*{{{*/
    
    private:
    /** \brief dpointer placeholder (for later in case we need it) */
-   void *d;
+   void * const d;
    
    pkgCache &Cache;
    std::vector<Parser *>Files;
@@ -111,7 +111,7 @@ class pkgRecords::Parser                                            /*{{{*/
    virtual ~Parser();
 
    private:
-   void *d;
+   void * const d;
    APT_HIDDEN std::string GetHashFromHashes(char const * const type) const
    {
       HashStringList const hashes = Hashes();