diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-10-14 14:51:56 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-10-14 14:51:56 +0200 |
commit | 1d29e0e4c3072a18a0748ec89af1c1b8074a35a3 (patch) | |
tree | f59b016e873d9381aacac02cb94d1d33113063d7 /apt-pkg/contrib/hashsum_template.h | |
parent | cd16c01df411b182c0cfbaff3a12b36084a79e13 (diff) |
cherry pick -r 2184.1.15..2184.1.18 from debian-experimental2
Diffstat (limited to 'apt-pkg/contrib/hashsum_template.h')
-rw-r--r-- | apt-pkg/contrib/hashsum_template.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apt-pkg/contrib/hashsum_template.h b/apt-pkg/contrib/hashsum_template.h index 85d94c2af..fe0984f4e 100644 --- a/apt-pkg/contrib/hashsum_template.h +++ b/apt-pkg/contrib/hashsum_template.h @@ -29,7 +29,11 @@ class HashSumValue bool operator ==(const HashSumValue &rhs) const { return memcmp(Sum,rhs.Sum,sizeof(Sum)) == 0; - }; + }; + bool operator !=(const HashSumValue &rhs) const + { + return memcmp(Sum,rhs.Sum,sizeof(Sum)) != 0; + }; string Value() const { |