summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-10-14 15:46:37 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-10-14 15:46:37 +0200
commit957e8c1b62b212d32d3b437461384072ef0b2e9c (patch)
tree4abacf9e893279181114d58f961eefc5e02a28c1 /apt-pkg/contrib
parentcd16c01df411b182c0cfbaff3a12b36084a79e13 (diff)
parent3e3dfc40aa9466ca49665c26cb970e5527c3fb4c (diff)
* apt-pkg/pkgcachegen.cc:
- refactor MergeList by creating -Group, -Package and -Version specialist - share description list between "same" versions (LP: #868977) This also means that descriptions are shared across archives now. * apt-pkg/pkgcache.cc: - always prefer "en" over "" for "en"-language regardless of cache-order (LP: #868977)
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r--apt-pkg/contrib/hashsum_template.h6
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
{