diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2020-01-07 21:05:27 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2020-01-14 13:10:36 +0100 |
commit | 5872a2e7dd308e49a063a20da1beb40a32d1e9b2 (patch) | |
tree | 9e0c4fd785c099cc4d3a553c3b27e68b527e68aa /apt-pkg/contrib/hashes.h | |
parent | 79de3008ebfc6b4a5dd32e9de1d19788da0b885d (diff) |
Deprecate the Summation classes and mark them for removal
Diffstat (limited to 'apt-pkg/contrib/hashes.h')
-rw-r--r-- | apt-pkg/contrib/hashes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/contrib/hashes.h b/apt-pkg/contrib/hashes.h index 07ccc6900..dad50c564 100644 --- a/apt-pkg/contrib/hashes.h +++ b/apt-pkg/contrib/hashes.h @@ -171,12 +171,14 @@ class PrivateHashes; class Hashes { PrivateHashes * const d; +APT_IGNORE_DEPRECATED_PUSH /* TODO: those will disappear in the future as it is hard to add new ones this way. * Use Add* to build the results and get them via GetHashStringList() instead */ MD5Summation MD5 APT_PKG_590("Remove"); SHA1Summation SHA1 APT_PKG_590("Remove"); SHA256Summation SHA256 APT_PKG_590("Remove"); SHA512Summation SHA512 APT_PKG_590("Remove"); +APT_IGNORE_DEPRECATED_POP public: static const int UntilEOF = 0; |