diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-10-11 18:34:21 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-10-11 18:34:21 +0200 |
commit | 99a2ea5a2737ba6bf346e15a609d927dc03a02ea (patch) | |
tree | c841daad33db54b339ec39ccd0ecad5b9e37e033 /apt-pkg/contrib | |
parent | 2aa7df1d88017a7f0352e210b129889ad8b6f7f3 (diff) |
* apt-pkg/pkgcachegen.cc:
- refactor MergeList by creating -Group, -Package and -Version specialist
Diffstat (limited to 'apt-pkg/contrib')
-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 c109a8212..27d192b82 100644 --- a/apt-pkg/contrib/hashsum_template.h +++ b/apt-pkg/contrib/hashsum_template.h @@ -26,7 +26,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; + }; std::string Value() const { |