diff options
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r-- | apt-pkg/contrib/fileutl.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/apt-pkg/contrib/fileutl.h b/apt-pkg/contrib/fileutl.h index 13e9c610f..f33f7804b 100644 --- a/apt-pkg/contrib/fileutl.h +++ b/apt-pkg/contrib/fileutl.h @@ -23,9 +23,6 @@ #include <apt-pkg/macros.h> #include <apt-pkg/aptconfiguration.h> -#ifdef APT_PKG_EXPOSE_STRING_VIEW -#include <apt-pkg/string_view.h> -#endif #include <string> #include <vector> @@ -92,9 +89,6 @@ class FileFd char* ReadLine(char *To, unsigned long long const Size); bool Flush(); bool Write(const void *From,unsigned long long Size); -#ifdef APT_PKG_EXPOSE_STRING_VIEW - APT_HIDDEN bool Write(APT::StringView From) { return Write(From.data(), From.size()); } -#endif bool static Write(int Fd, const void *From, unsigned long long Size); bool Seek(unsigned long long To); bool Skip(unsigned long long To); |