]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/hashes.h
guard const-ification API changes
[apt.git] / apt-pkg / contrib / hashes.h
index ca186d70430118029f0e18dfe2a12f6b524d944e..1548624575cc9c0d8f67f13cd48cc59f24eba22c 100644 (file)
@@ -55,6 +55,8 @@ class HashString
    // get hash type used
    std::string HashType() const { return Type; };
    std::string HashValue() const { return Hash; };
+   APT_DEPRECATED std::string HashType() { return Type; };
+   APT_DEPRECATED std::string HashValue() { return Hash; };
 
    // verify the given filename against the currently loaded hash
    bool VerifyFile(std::string filename) const;