Просмотр исходного кода

fix: The class 'pkgSourceList' defines member variable with name 'SrcList' also defined in its parent class 'pkgSource'

Git-Dch: Ignore
Reported-By: cppcheck
David Kalnischkies лет назад: 11
Родитель
Сommit
9d02c1ac77
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      apt-pkg/sourcelist.h

+ 0 - 4
apt-pkg/sourcelist.h

@@ -96,13 +96,9 @@ class pkgSourceList : public pkgSource
    
    public:
 
-   std::vector<metaIndex *> SrcList;
-
    int ParseFileDeb822(std::string File);
    bool ParseFileOldStyle(std::string File);
 
-   public:
-
    bool ReadMainList();
    bool Read(std::string File);