From e9a1e5f9a37b8ddcdb98f2a0608f262e0863673a Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 8 Jan 2016 20:57:23 +0100 Subject: debListParser: Convert another ParseDepends to StringView I overlooked this Gbp-Dch: ignore --- apt-pkg/deb/deblistparser.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apt-pkg/deb/deblistparser.h') diff --git a/apt-pkg/deb/deblistparser.h b/apt-pkg/deb/deblistparser.h index ad134f8e6..dd60ac50f 100644 --- a/apt-pkg/deb/deblistparser.h +++ b/apt-pkg/deb/deblistparser.h @@ -50,8 +50,10 @@ class APT_HIDDEN debListParser : public pkgCacheListParser map_filesize_t iOffset; virtual bool ParseStatus(pkgCache::PkgIterator &Pkg,pkgCache::VerIterator &Ver); - bool ParseDepends(pkgCache::VerIterator &Ver,const char *Tag, +#ifdef APT_PKG_EXPOSE_STRING_VIEW + bool ParseDepends(pkgCache::VerIterator &Ver, APT::StringView Tag, unsigned int Type); +#endif bool ParseProvides(pkgCache::VerIterator &Ver); #ifdef APT_PKG_EXPOSE_STRING_VIEW -- cgit v1.2.3