summaryrefslogtreecommitdiff
path: root/absl/types
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2024-06-12 08:13:58 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2024-06-12 08:14:45 -0700
commit567ebd0540f4e56d125491e71e2727d8ab5458e0 (patch)
treeee113945348f45a35b4f236abacf769227632c4d /absl/types
parenta0889af0a23030e6bb27c6c7241bade7e59cb763 (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/types')
-rw-r--r--absl/types/span.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/types/span.h b/absl/types/span.h
index 560e569b..a0f80272 100644
--- a/absl/types/span.h
+++ b/absl/types/span.h
@@ -151,7 +151,7 @@ ABSL_NAMESPACE_BEGIN
// int* my_array = new int[10];
// MyRoutine(absl::Span<const int>(my_array, 10));
template <typename T>
-class Span {
+class ABSL_INTERNAL_ATTRIBUTE_VIEW Span {
private:
// Used to determine whether a Span can be constructed from a container of
// type C.