diff options
| author | наб <nabijaczleweli@nabijaczleweli.xyz> | 2024-11-12 18:22:44 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2025-02-14 19:45:12 +0100 |
| commit | 4f6d379124bc51a09608fa3f45d66713f927b959 (patch) | |
| tree | b20d5437d722deb919d92f06498402d23e53eef6 /apt-pkg/contrib/proxy.cc | |
| parent | 793c9b1f3059c35b66c19f62fa39b6607809fea0 (diff) | |
Drop APT::StringView
Diffstat (limited to 'apt-pkg/contrib/proxy.cc')
| -rw-r--r-- | apt-pkg/contrib/proxy.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apt-pkg/contrib/proxy.cc b/apt-pkg/contrib/proxy.cc index aad272190..4780f9b5a 100644 --- a/apt-pkg/contrib/proxy.cc +++ b/apt-pkg/contrib/proxy.cc @@ -12,7 +12,6 @@ #include <apt-pkg/configuration.h> #include <apt-pkg/error.h> #include <apt-pkg/fileutl.h> -#include <apt-pkg/string_view.h> #include <apt-pkg/strutl.h> #include <algorithm> @@ -89,7 +88,7 @@ bool AutoDetectProxy(URI &URL) // and apt will use the generic proxy settings if (goodread == false) return true; - APT::StringView const cleanedbuf = _strstrip(buf); + std::string_view const cleanedbuf = _strstrip(buf); // We warn about this as the implementor probably meant to use DIRECT instead if (cleanedbuf.empty()) { |
