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/contrib/hashes.h | |
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/contrib/hashes.h')
-rw-r--r-- | apt-pkg/contrib/hashes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/hashes.h b/apt-pkg/contrib/hashes.h index 1f8f45cb1..11521008a 100644 --- a/apt-pkg/contrib/hashes.h +++ b/apt-pkg/contrib/hashes.h @@ -72,7 +72,7 @@ class HashString bool operator!=(HashString const &other) const; // return the list of hashes we support - static APT_CONST const char** SupportedHashes(); + static APT_PURE const char** SupportedHashes(); }; class HashStringList @@ -225,7 +225,7 @@ APT_IGNORE_DEPRECATED_PUSH APT_IGNORE_DEPRECATED_POP private: - APT_HIDDEN APT_CONST inline unsigned int boolsToFlag(bool const addMD5, bool const addSHA1, bool const addSHA256, bool const addSHA512) + APT_HIDDEN APT_PURE inline unsigned int boolsToFlag(bool const addMD5, bool const addSHA1, bool const addSHA256, bool const addSHA512) { unsigned int Hashes = ~0; if (addMD5 == false) Hashes &= ~MD5SUM; |