]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcache.h
add d-pointer, virtual destructors and de-inline de/constructors
[apt.git] / apt-pkg / pkgcache.h
index 3cc85f1e83d70ec9dcb1053c9c7fc233bc8dd267..b7bf26c2acba67ba136ab15ea17228aaeb731af2 100644 (file)
@@ -266,11 +266,12 @@ class pkgCache                                                            /*{{{*/
    static const char *CompTypeDeb(unsigned char Comp) APT_CONST;
    static const char *CompType(unsigned char Comp) APT_CONST;
    static const char *DepType(unsigned char Dep);
-   
+
    pkgCache(MMap *Map,bool DoMap = true);
-   virtual ~pkgCache() {}
+   virtual ~pkgCache();
 
 private:
+   void *d;
    bool MultiArchEnabled;
    APT_HIDDEN PkgIterator SingleArchFindPkg(const std::string &Name);
 };