diff options
Diffstat (limited to 'apt-pkg/depcache.h')
-rw-r--r-- | apt-pkg/depcache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h index 3013c0ddb..5cbaf5f9a 100644 --- a/apt-pkg/depcache.h +++ b/apt-pkg/depcache.h @@ -356,9 +356,9 @@ class pkgDepCache : protected pkgCache::Namespace inline Header &Head() {return *Cache->HeaderP;}; inline GrpIterator GrpBegin() {return Cache->GrpBegin();}; inline PkgIterator PkgBegin() {return Cache->PkgBegin();}; - inline GrpIterator FindGrp(std::string const &Name) {return Cache->FindGrp(Name);}; - inline PkgIterator FindPkg(std::string const &Name) {return Cache->FindPkg(Name);}; - inline PkgIterator FindPkg(std::string const &Name, std::string const &Arch) {return Cache->FindPkg(Name, Arch);}; + inline GrpIterator FindGrp(APT::StringView Name) {return Cache->FindGrp(Name);}; + inline PkgIterator FindPkg(APT::StringView Name) {return Cache->FindPkg(Name);}; + inline PkgIterator FindPkg(APT::StringView Name, APT::StringView Arch) {return Cache->FindPkg(Name, Arch);}; inline pkgCache &GetCache() {return *Cache;}; inline pkgVersioningSystem &VS() {return *Cache->VS;}; |