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/edsp | |
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/edsp')
-rw-r--r-- | apt-pkg/edsp/edspindexfile.h | 4 | ||||
-rw-r--r-- | apt-pkg/edsp/edsplistparser.cc | 2 | ||||
-rw-r--r-- | apt-pkg/edsp/edspsystem.h | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/apt-pkg/edsp/edspindexfile.h b/apt-pkg/edsp/edspindexfile.h index e146ca80c..4ac0f9d72 100644 --- a/apt-pkg/edsp/edspindexfile.h +++ b/apt-pkg/edsp/edspindexfile.h @@ -40,7 +40,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; edspIndex(std::string const &File); virtual ~edspIndex(); @@ -53,7 +53,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; eippIndex(std::string const &File); virtual ~eippIndex(); diff --git a/apt-pkg/edsp/edsplistparser.cc b/apt-pkg/edsp/edsplistparser.cc index b118e127d..bd02a128a 100644 --- a/apt-pkg/edsp/edsplistparser.cc +++ b/apt-pkg/edsp/edsplistparser.cc @@ -69,7 +69,7 @@ unsigned short edspLikeListParser::VersionHash() } /*}}}*/ // ListParser::LoadReleaseInfo - Load the release information /*{{{*/ -APT_CONST bool edspLikeListParser::LoadReleaseInfo(pkgCache::RlsFileIterator & /*FileI*/, +APT_PURE bool edspLikeListParser::LoadReleaseInfo(pkgCache::RlsFileIterator & /*FileI*/, FileFd & /*File*/, std::string const &/*component*/) { return true; diff --git a/apt-pkg/edsp/edspsystem.h b/apt-pkg/edsp/edspsystem.h index af8bcf128..c70d8107a 100644 --- a/apt-pkg/edsp/edspsystem.h +++ b/apt-pkg/edsp/edspsystem.h @@ -29,11 +29,11 @@ protected: std::unique_ptr<pkgIndexFile> StatusFile; public: - virtual bool Lock() APT_OVERRIDE APT_CONST; - virtual bool UnLock(bool NoErrors = false) APT_OVERRIDE APT_CONST; - virtual pkgPackageManager *CreatePM(pkgDepCache *Cache) const APT_OVERRIDE APT_CONST; + virtual bool Lock() APT_OVERRIDE APT_PURE; + virtual bool UnLock(bool NoErrors = false) APT_OVERRIDE APT_PURE; + virtual pkgPackageManager *CreatePM(pkgDepCache *Cache) const APT_OVERRIDE APT_PURE; virtual bool Initialize(Configuration &Cnf) APT_OVERRIDE; - virtual bool ArchiveSupported(const char *Type) APT_OVERRIDE APT_CONST; + virtual bool ArchiveSupported(const char *Type) APT_OVERRIDE APT_PURE; virtual signed Score(Configuration const &Cnf) APT_OVERRIDE; virtual bool FindIndex(pkgCache::PkgFileIterator File, pkgIndexFile *&Found) const APT_OVERRIDE; |