summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2022-07-24 10:23:41 +0000
committerJulian Andres Klode <jak@debian.org>2022-07-24 10:23:41 +0000
commite064f27f9af86bc2ad4456ddbfc28deacb043474 (patch)
treea0ba9b9016800fa20292c517ab2aa07931630c2a
parent01634926847e7c70ce51ea4592d8da0a25d9150d (diff)
parent04109c847a30c9637cc93d929a1d2be64be057e6 (diff)
Merge branch 'fix-python-apt-build' into 'main'
apt-pkg: (re)export pkgTagSection::Key to fix FTBFS in python-apt See merge request apt-team/apt!249
-rw-r--r--apt-pkg/tagfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/tagfile.h b/apt-pkg/tagfile.h
index 54562d07c..a9f581424 100644
--- a/apt-pkg/tagfile.h
+++ b/apt-pkg/tagfile.h
@@ -70,9 +70,9 @@ class APT_PUBLIC pkgTagSection
std::string FindS(APT::StringView sv) const { return Find(sv).to_string(); }
std::string FindRawS(APT::StringView sv) const { return FindRaw(sv).to_string(); };
-#ifdef APT_COMPILING_APT
// Functions for lookup with a perfect hash function
enum class Key;
+#ifdef APT_COMPILING_APT
bool Find(Key key,const char *&Start, const char *&End) const;
bool Find(Key key,unsigned int &Pos) const;
signed int FindI(Key key,signed long Default = 0) const;