diff options
| author | Julian Andres Klode <jak@debian.org> | 2026-05-17 19:21:21 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2026-05-17 19:21:21 +0000 |
| commit | 77f2f71d962eb38f20c3e06233173956dd31f5d7 (patch) | |
| tree | 02aa347719e581be32ff5e17e0fa498528df3725 /apt-pkg/cacheset.h | |
| parent | c28202d199f46fb31d8b510d2fe74c4a1d0c014e (diff) | |
| parent | 1e010999520a5b5bac608cb161b90be6edb6b070 (diff) | |
Merge branch 'fix-gcc' into 'main'
fix gcc warnings and other regressions
See merge request apt-team/apt!582
Diffstat (limited to 'apt-pkg/cacheset.h')
| -rw-r--r-- | apt-pkg/cacheset.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/cacheset.h b/apt-pkg/cacheset.h index 02dda7ee6..170105afc 100644 --- a/apt-pkg/cacheset.h +++ b/apt-pkg/cacheset.h @@ -63,7 +63,7 @@ public: /*{{{*/ unsigned short ID; const char * const Alias; Position Pos; - PkgModifier (unsigned short const &id, const char * const alias, Position const &pos) : ID(id), Alias(alias), Pos(pos) {} + PkgModifier (unsigned short const &id, const char * const alias, Position const &pos) noexcept : ID(id), Alias(alias), Pos(pos) {} }; virtual bool PackageFromModifierCommandLine(unsigned short &modID, PackageContainerInterface * const pci, pkgCacheFile &Cache, const char * cmdline, @@ -739,7 +739,7 @@ public: enum Position { NONE, PREFIX, POSTFIX } const Pos; enum CacheSetHelper::VerSelector const SelectVersion; Modifier (unsigned short const &id, const char * const alias, Position const &pos, - enum CacheSetHelper::VerSelector const select) : ID(id), Alias(alias), Pos(pos), + enum CacheSetHelper::VerSelector const select) noexcept : ID(id), Alias(alias), Pos(pos), SelectVersion(select) {} }; |
