diff options
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r-- | apt-pkg/deb/debindexfile.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apt-pkg/deb/debindexfile.h b/apt-pkg/deb/debindexfile.h index 40a9e4bbc..5c89f9c54 100644 --- a/apt-pkg/deb/debindexfile.h +++ b/apt-pkg/deb/debindexfile.h @@ -35,7 +35,7 @@ protected: public: - virtual const Type *GetType() const APT_OVERRIDE APT_CONST; + virtual const Type *GetType() const APT_OVERRIDE APT_PURE; // Interface for the Cache Generator virtual bool HasPackages() const APT_OVERRIDE {return true;}; @@ -55,7 +55,7 @@ protected: virtual uint8_t GetIndexFlags() const APT_OVERRIDE; public: - virtual const Type *GetType() const APT_OVERRIDE APT_CONST; + virtual const Type *GetType() const APT_OVERRIDE APT_PURE; // Stuff for accessing files on remote items virtual std::string ArchiveInfo(pkgCache::VerIterator const &Ver) const APT_OVERRIDE; @@ -78,7 +78,7 @@ protected: public: - virtual const Type *GetType() const APT_OVERRIDE APT_CONST; + virtual const Type *GetType() const APT_OVERRIDE APT_PURE; // Interface for the Cache Generator virtual bool HasPackages() const APT_OVERRIDE; @@ -96,7 +96,7 @@ class debSourcesIndex : public pkgDebianIndexTargetFile public: - virtual const Type *GetType() const APT_OVERRIDE APT_CONST; + virtual const Type *GetType() const APT_OVERRIDE APT_PURE; // Stuff for accessing files on remote items virtual std::string SourceInfo(pkgSrcRecords::Parser const &Record, @@ -125,7 +125,7 @@ protected: APT_HIDDEN virtual pkgCacheListParser * CreateListParser(FileFd &Pkg) APT_OVERRIDE; public: - virtual const Type *GetType() const APT_OVERRIDE APT_CONST; + virtual const Type *GetType() const APT_OVERRIDE APT_PURE; /** get the control (file) content of the deb file * @@ -158,7 +158,7 @@ protected: virtual uint8_t GetIndexFlags() const APT_OVERRIDE; public: - virtual const Type *GetType() const APT_OVERRIDE APT_CONST; + virtual const Type *GetType() const APT_OVERRIDE APT_PURE; virtual pkgSrcRecords::Parser *CreateSrcParser() const APT_OVERRIDE; virtual bool HasPackages() const APT_OVERRIDE {return false;}; @@ -172,7 +172,7 @@ protected: virtual std::string GetComponent() const APT_OVERRIDE; public: - virtual const Type *GetType() const APT_OVERRIDE APT_CONST; + virtual const Type *GetType() const APT_OVERRIDE APT_PURE; }; class debStringPackageIndex : public pkgDebianIndexRealFile @@ -184,7 +184,7 @@ protected: virtual uint8_t GetIndexFlags() const APT_OVERRIDE; public: - virtual const Type *GetType() const APT_OVERRIDE APT_CONST; + virtual const Type *GetType() const APT_OVERRIDE APT_PURE; // Interface for the Cache Generator virtual bool HasPackages() const APT_OVERRIDE {return true;}; |