diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2025-02-15 16:57:45 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2025-02-15 16:57:45 +0100 |
| commit | 957de0abd4a3c5fe9142b48455165498ea785b3c (patch) | |
| tree | 7acb2de8bf72563eff2b8c186263c315beb92d94 | |
| parent | 2614ff646e812e2d9515e6f0e7be076e97c9ec1a (diff) | |
Add missing #include <string_view>
| -rw-r--r-- | apt-pkg/cachefilter-patterns.h | 1 | ||||
| -rw-r--r-- | apt-pkg/cachefilter.h | 1 | ||||
| -rw-r--r-- | apt-pkg/cacheiterators.h | 1 | ||||
| -rw-r--r-- | apt-pkg/contrib/configuration.h | 1 | ||||
| -rw-r--r-- | apt-pkg/contrib/fileutl.h | 1 | ||||
| -rw-r--r-- | apt-pkg/contrib/hashes.h | 1 | ||||
| -rw-r--r-- | apt-pkg/deb/deblistparser.h | 1 | ||||
| -rw-r--r-- | apt-pkg/depcache.h | 1 | ||||
| -rw-r--r-- | apt-pkg/edsp/edsplistparser.h | 1 | ||||
| -rw-r--r-- | apt-pkg/pkgcache.h | 1 | ||||
| -rw-r--r-- | apt-pkg/pkgcachegen.h | 1 | ||||
| -rw-r--r-- | apt-pkg/tagfile.h | 1 |
12 files changed, 12 insertions, 0 deletions
diff --git a/apt-pkg/cachefilter-patterns.h b/apt-pkg/cachefilter-patterns.h index 660e52e82..07b7ac61b 100644 --- a/apt-pkg/cachefilter-patterns.h +++ b/apt-pkg/cachefilter-patterns.h @@ -19,6 +19,7 @@ #include <optional> #include <sstream> #include <string> +#include <string_view> #include <vector> namespace APT diff --git a/apt-pkg/cachefilter.h b/apt-pkg/cachefilter.h index 8678be5df..5fe7df92c 100644 --- a/apt-pkg/cachefilter.h +++ b/apt-pkg/cachefilter.h @@ -10,6 +10,7 @@ #include <memory> #include <string> +#include <string_view> #include <vector> #include <regex.h> diff --git a/apt-pkg/cacheiterators.h b/apt-pkg/cacheiterators.h index 443912253..fd74e11c4 100644 --- a/apt-pkg/cacheiterators.h +++ b/apt-pkg/cacheiterators.h @@ -37,6 +37,7 @@ #include <iosfwd> #include <iterator> #include <string> +#include <string_view> #include <cstring> diff --git a/apt-pkg/contrib/configuration.h b/apt-pkg/contrib/configuration.h index 1c09137f6..4a21d977b 100644 --- a/apt-pkg/contrib/configuration.h +++ b/apt-pkg/contrib/configuration.h @@ -31,6 +31,7 @@ #include <iostream> #include <string> +#include <string_view> #include <vector> #include <apt-pkg/macros.h> diff --git a/apt-pkg/contrib/fileutl.h b/apt-pkg/contrib/fileutl.h index 53c6d85c2..ed2a9476f 100644 --- a/apt-pkg/contrib/fileutl.h +++ b/apt-pkg/contrib/fileutl.h @@ -31,6 +31,7 @@ #include <set> #include <memory> #include <string> +#include <string_view> #include <vector> #include <sys/stat.h> diff --git a/apt-pkg/contrib/hashes.h b/apt-pkg/contrib/hashes.h index 18feae57b..dc9cbf0d8 100644 --- a/apt-pkg/contrib/hashes.h +++ b/apt-pkg/contrib/hashes.h @@ -20,6 +20,7 @@ #include <cstring> #include <string> +#include <string_view> #include <vector> diff --git a/apt-pkg/deb/deblistparser.h b/apt-pkg/deb/deblistparser.h index 27e900790..ff1bfa06c 100644 --- a/apt-pkg/deb/deblistparser.h +++ b/apt-pkg/deb/deblistparser.h @@ -19,6 +19,7 @@ #endif #include <string> +#include <string_view> #include <vector> diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h index 665f8e86b..39d34d3e4 100644 --- a/apt-pkg/depcache.h +++ b/apt-pkg/depcache.h @@ -46,6 +46,7 @@ #include <list> #include <memory> #include <string> +#include <string_view> #include <utility> diff --git a/apt-pkg/edsp/edsplistparser.h b/apt-pkg/edsp/edsplistparser.h index a7ad9830c..7d9eb5849 100644 --- a/apt-pkg/edsp/edsplistparser.h +++ b/apt-pkg/edsp/edsplistparser.h @@ -16,6 +16,7 @@ #include <apt-pkg/pkgcache.h> #include <string> +#include <string_view> class APT_HIDDEN edspLikeListParser : public debListParser diff --git a/apt-pkg/pkgcache.h b/apt-pkg/pkgcache.h index 22e13e009..b832106ed 100644 --- a/apt-pkg/pkgcache.h +++ b/apt-pkg/pkgcache.h @@ -81,6 +81,7 @@ #include <cstdint> #include <ctime> #include <string> +#include <string_view> diff --git a/apt-pkg/pkgcachegen.h b/apt-pkg/pkgcachegen.h index efcaef80d..85c80035a 100644 --- a/apt-pkg/pkgcachegen.h +++ b/apt-pkg/pkgcachegen.h @@ -23,6 +23,7 @@ #include <apt-pkg/pkgcache.h> #include <string> +#include <string_view> #include <vector> #if __cplusplus >= 201103L #include <unordered_set> diff --git a/apt-pkg/tagfile.h b/apt-pkg/tagfile.h index 4c5871833..23e42e4b4 100644 --- a/apt-pkg/tagfile.h +++ b/apt-pkg/tagfile.h @@ -27,6 +27,7 @@ #include <list> #include <memory> #include <string> +#include <string_view> #include <vector> |
