]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debmetaindex.h
make all d-pointer * const pointers
[apt.git] / apt-pkg / deb / debmetaindex.h
index f2706e08aac5452b2c8d65a45c18b98c59a3fe64..648c22436d6c292a1c751d0760c8b38d0fed6a71 100644 (file)
@@ -36,7 +36,7 @@ class APT_HIDDEN debReleaseIndex : public metaIndex {
 
    private:
    /** \brief dpointer placeholder (for later in case we need it) */
-   void *d;
+   void * const d;
    std::map<std::string, std::vector<debSectionEntry const*> > ArchEntries;
    enum APT_HIDDEN { ALWAYS_TRUSTED, NEVER_TRUSTED, CHECK_TRUST } Trusted;
 
@@ -75,7 +75,7 @@ class APT_HIDDEN debReleaseIndex : public metaIndex {
 class APT_HIDDEN debDebFileMetaIndex : public metaIndex
 {
  private:
-    void *d;
+    void * const d;
    std::string DebFile;
    debDebPkgFileIndex *DebIndex;
  public: