summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/deblistparser.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-01-15 17:54:43 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-01-15 18:19:16 +0100
commit3b4045fc31baf3aa580bd695695d579c30a481b8 (patch)
treefbf7133290aa569d1cbcd4bd8c393f30627497fd /apt-pkg/deb/deblistparser.h
parentec6a4a831e57834bf4d7abb91fc8b298c2fbfcc2 (diff)
use APT::StringView for GrabWord
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/deb/deblistparser.h')
-rw-r--r--apt-pkg/deb/deblistparser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/deb/deblistparser.h b/apt-pkg/deb/deblistparser.h
index dd60ac50f..4663c0119 100644
--- a/apt-pkg/deb/deblistparser.h
+++ b/apt-pkg/deb/deblistparser.h
@@ -33,12 +33,14 @@ class APT_HIDDEN debListParser : public pkgCacheListParser
{
public:
+#ifdef APT_PKG_EXPOSE_STRING_VIEW
// Parser Helper
struct WordList
{
- const char *Str;
+ APT::StringView Str;
unsigned char Val;
};
+#endif
private:
/** \brief dpointer placeholder (for later in case we need it) */