diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2021-08-09 22:15:58 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2021-08-09 22:24:43 +0200 |
commit | 2f510c5632ba83b97c6eb86ebf5e39085fde74fe (patch) | |
tree | f4351d26a3a81d24a281e2079bfc7e841ee7ff82 /apt-private/private-cacheset.h | |
parent | 6442107478c5418cd0053eef626f53d565fda7e1 (diff) |
Bump to C++17
Comparison operators need to be const-invocable now, but
otherwise no change seems necessary.
Diffstat (limited to 'apt-private/private-cacheset.h')
-rw-r--r-- | apt-private/private-cacheset.h | 2 |
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(); |