summaryrefslogtreecommitdiff
path: root/apt-private/private-cacheset.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-private/private-cacheset.h')
-rw-r--r--apt-private/private-cacheset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-cacheset.h b/apt-private/private-cacheset.h
index 8848aa3aa..f3f737b5c 100644
--- a/apt-private/private-cacheset.h
+++ b/apt-private/private-cacheset.h
@@ -34,7 +34,7 @@ public:
struct VersionSortDescriptionLocality /*{{{*/
{
bool operator () (const VerIteratorWithCaching &v_lhs,
- const VerIteratorWithCaching &v_rhs)
+ const VerIteratorWithCaching &v_rhs) const
{
pkgCache::DescFile const *A = v_lhs.CachedDescFile();
pkgCache::DescFile const *B = v_rhs.CachedDescFile();