diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-02-04 19:50:16 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-06-11 14:45:55 +0200 |
commit | a6e86d51a0e32cdc91f2902b0d6b483af884dcca (patch) | |
tree | 528867efd4499d088a7204470b0ff10bdb87457f /apt-pkg/contrib/string_view.h | |
parent | 93e0ba2bfde58e6c1fbad53614083be8754d7ee8 (diff) |
Make APT::StringView public
Diffstat (limited to 'apt-pkg/contrib/string_view.h')
-rw-r--r-- | apt-pkg/contrib/string_view.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/string_view.h b/apt-pkg/contrib/string_view.h index 536744e32..443ea395e 100644 --- a/apt-pkg/contrib/string_view.h +++ b/apt-pkg/contrib/string_view.h @@ -9,7 +9,7 @@ * (at your option) any later version. */ -#if !defined(APT_STRINGVIEW_H) && defined(APT_PKG_EXPOSE_STRING_VIEW) +#if !defined(APT_STRINGVIEW_H) #define APT_STRINGVIEW_H #include <apt-pkg/macros.h> #include <string> @@ -24,7 +24,7 @@ namespace APT { * used by APT. It is not meant to be used in programs, only inside the * library for performance critical paths. */ -class APT_HIDDEN StringView { +class StringView { const char *data_; size_t size_; |