summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/deblistparser.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-08-26 11:50:47 +0000
committerJulian Andres Klode <jak@debian.org>2025-08-26 11:50:47 +0000
commit66ef39b9490c51bc396e28cdc23a577f114cbc79 (patch)
tree2dafe4ab2d7965cf38effd7876fc9e5a8eae4803 /apt-pkg/deb/deblistparser.h
parent27a6bb49ea806e808bf6ebd849542bd32cf256c6 (diff)
parent6abcb32f7df63c64b88a4fef57d38e219d2b6b42 (diff)
Merge branch 'optimizations' into 'main'
debListParser: Cache `essential` and `myArch` more See merge request apt-team/apt!503
Diffstat (limited to 'apt-pkg/deb/deblistparser.h')
-rw-r--r--apt-pkg/deb/deblistparser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/deb/deblistparser.h b/apt-pkg/deb/deblistparser.h
index ff1bfa06c..2a9108775 100644
--- a/apt-pkg/deb/deblistparser.h
+++ b/apt-pkg/deb/deblistparser.h
@@ -36,13 +36,13 @@ class APT_HIDDEN debListParser : public pkgCacheListParser
unsigned char Val;
};
- private:
+ protected:
std::vector<std::string> forceEssential;
std::vector<std::string> forceImportant;
std::string MD5Buffer;
std::string myArch;
+ std::string essential;
- protected:
pkgTagFile Tags;
pkgTagSection Section;
map_filesize_t iOffset;