summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefilter-patterns.cc
diff options
context:
space:
mode:
authorнаб <nabijaczleweli@nabijaczleweli.xyz>2024-11-12 17:59:18 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2025-02-14 19:45:12 +0100
commit793c9b1f3059c35b66c19f62fa39b6607809fea0 (patch)
treefe23d92be8e2f0144e5f4c8d267bd7b62e1023c1 /apt-pkg/cachefilter-patterns.cc
parent6de55404ca8ce296ccf14880c6115b6d8eb4e0b9 (diff)
APT::StringView -> std::string_view [textonly]
Diffstat (limited to 'apt-pkg/cachefilter-patterns.cc')
-rw-r--r--apt-pkg/cachefilter-patterns.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/cachefilter-patterns.cc b/apt-pkg/cachefilter-patterns.cc
index 838c71a81..e79e1afb5 100644
--- a/apt-pkg/cachefilter-patterns.cc
+++ b/apt-pkg/cachefilter-patterns.cc
@@ -588,7 +588,7 @@ BaseRegexMatcher::~BaseRegexMatcher()
} // namespace Internal
// The bridge into the public world
-std::unique_ptr<APT::CacheFilter::Matcher> APT::CacheFilter::ParsePattern(APT::StringView pattern, pkgCacheFile *file)
+std::unique_ptr<APT::CacheFilter::Matcher> APT::CacheFilter::ParsePattern(std::string_view pattern, pkgCacheFile *file)
{
if (file != nullptr && !file->BuildDepCache())
return nullptr;