diff options
author | Julian Andres Klode <jak@debian.org> | 2017-08-24 16:55:15 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-08-24 16:56:52 +0200 |
commit | 0e4ac8334d02ea256f750ad61689f28ff1ebdf6c (patch) | |
tree | d1a1b22ec1039c8f8cd2450b28351c34b13605b3 /apt-pkg/deb | |
parent | 03590fb98226bfdf3147eb78effc3fa7987709bb (diff) |
Replace APT_CONST with APT_PURE everywhere
As a follow up to the last commit, let's replace APT_CONST
with APT_PURE everywhere to clean stuff up.
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;}; |