From 2f510c5632ba83b97c6eb86ebf5e39085fde74fe Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 9 Aug 2021 22:15:58 +0200 Subject: Bump to C++17 Comparison operators need to be const-invocable now, but otherwise no change seems necessary. --- apt-private/private-cacheset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt-private') 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(); -- cgit v1.2.3-70-g09d2