]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/sourcelist.cc
make all d-pointer * const pointers
[apt.git] / apt-pkg / sourcelist.cc
index 8b960572bc71b2a7dd989419a5ad11ca93ea1e7f..99b64651390f81ddff9c274b5131bb0c5e87f827 100644 (file)
@@ -236,11 +236,11 @@ bool pkgSourceList::Type::ParseLine(vector<metaIndex *> &List,
 // SourceList::pkgSourceList - Constructors                            /*{{{*/
 // ---------------------------------------------------------------------
 /* */
 // SourceList::pkgSourceList - Constructors                            /*{{{*/
 // ---------------------------------------------------------------------
 /* */
-pkgSourceList::pkgSourceList()
+pkgSourceList::pkgSourceList() : d(NULL)
 {
 }
 
 {
 }
 
-pkgSourceList::pkgSourceList(string File)
+pkgSourceList::pkgSourceList(string File) : d(NULL)
 {
    Read(File);
 }
 {
    Read(File);
 }