diff options
| author | наб <nabijaczleweli@nabijaczleweli.xyz> | 2024-11-12 17:59:18 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2025-02-14 19:45:12 +0100 |
| commit | 793c9b1f3059c35b66c19f62fa39b6607809fea0 (patch) | |
| tree | fe23d92be8e2f0144e5f4c8d267bd7b62e1023c1 /apt-pkg/depcache.h | |
| parent | 6de55404ca8ce296ccf14880c6115b6d8eb4e0b9 (diff) | |
APT::StringView -> std::string_view [textonly]
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 8d50d6fc6..665f8e86b 100644 --- a/apt-pkg/depcache.h +++ b/apt-pkg/depcache.h @@ -332,9 +332,9 @@ class APT_PUBLIC 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(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 GrpIterator FindGrp(std::string_view Name) {return Cache->FindGrp(Name);}; + inline PkgIterator FindPkg(std::string_view Name) {return Cache->FindPkg(Name);}; + inline PkgIterator FindPkg(std::string_view Name, std::string_view Arch) {return Cache->FindPkg(Name, Arch);}; inline pkgCache &GetCache() {return *Cache;}; inline pkgVersioningSystem &VS() {return *Cache->VS;}; |
