summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/deblistparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/deb/deblistparser.h')
-rw-r--r--apt-pkg/deb/deblistparser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/deb/deblistparser.h b/apt-pkg/deb/deblistparser.h
index aa39bada2..637063f94 100644
--- a/apt-pkg/deb/deblistparser.h
+++ b/apt-pkg/deb/deblistparser.h
@@ -81,13 +81,14 @@ class APT_HIDDEN debListParser : public pkgCacheListParser
bool const &ParseRestrictionsList = false,
std::string const &Arch = "");
+#if APT_PKG_ABI <= 600
APT_PUBLIC static const char *ParseDepends(const char *Start, const char *Stop,
APT::StringView &Package,
APT::StringView &Ver, unsigned int &Op,
bool const ParseArchFlags = false, bool StripMultiArch = true,
bool const ParseRestrictionsList = false,
std::string Arch = "") APT_DEPRECATED_MSG("Use std::string_view variant instead");
-
+#endif
APT_PUBLIC static const char *ParseDepends(const char *Start, const char *Stop,
std::string_view &Package,
std::string_view &Ver, unsigned int &Op,