]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-method.h
provide a constexpr char[] overload for APT::StringView
[apt.git] / apt-pkg / acquire-method.h
index f6659ef1f2b6b8bdf44ed66bef20a7445395e5c5..cab2bda4044dbc2de176226881b8b9d9c8753bc6 100644 (file)
@@ -56,7 +56,7 @@ class pkgAcqMethod
       FetchItem();
       virtual ~FetchItem();
       private:
       FetchItem();
       virtual ~FetchItem();
       private:
-      void *d;
+      void * const d;
    };
    
    struct FetchResult
    };
    
    struct FetchResult
@@ -73,7 +73,7 @@ class pkgAcqMethod
       FetchResult();
       virtual ~FetchResult();
       private:
       FetchResult();
       virtual ~FetchResult();
       private:
-      void *d;
+      void * const d;
    };
 
    // State
    };
 
    // State