X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/ef6cc0e22a2933e0e36bc260179fdf0b86f9ac26..cc9745a0d81a3e1aa5ef6f99f7ad638d26bdb950:/apt-pkg/contrib/string_view.h?ds=sidebyside diff --git a/apt-pkg/contrib/string_view.h b/apt-pkg/contrib/string_view.h index d4ff80028..f158ef8d6 100644 --- a/apt-pkg/contrib/string_view.h +++ b/apt-pkg/contrib/string_view.h @@ -13,6 +13,7 @@ #define APT_STRINGVIEW_H #include #include +#include namespace APT { @@ -23,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 StringView { +class APT_HIDDEN StringView { const char *data_; size_t size_;