diff options
author | Abseil Team <absl-team@google.com> | 2024-06-12 08:13:58 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-06-12 08:14:45 -0700 |
commit | 567ebd0540f4e56d125491e71e2727d8ab5458e0 (patch) | |
tree | ee113945348f45a35b4f236abacf769227632c4d /absl/strings/string_view.h | |
parent | a0889af0a23030e6bb27c6c7241bade7e59cb763 (diff) |
Add ABSL_INTERNAL_ATTRIBUTE_VIEW and ABSL_INTERNAL_ATTRIBUTE_OWNER attributes to types in Abseil
PiperOrigin-RevId: 642619703
Change-Id: I8d2e423a3c7f40709d0e8c82cac0395c75d601cf
Diffstat (limited to 'absl/strings/string_view.h')
-rw-r--r-- | absl/strings/string_view.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/strings/string_view.h b/absl/strings/string_view.h index b1fb7a10..ff760014 100644 --- a/absl/strings/string_view.h +++ b/absl/strings/string_view.h @@ -159,7 +159,7 @@ ABSL_NAMESPACE_BEGIN // // absl::string_view() == absl::string_view("", 0) // absl::string_view(nullptr, 0) == absl::string_view("abcdef"+6, 0) -class string_view { +class ABSL_INTERNAL_ATTRIBUTE_VIEW string_view { public: using traits_type = std::char_traits<char>; using value_type = char; |