diff options
author | Abseil Team <absl-team@google.com> | 2024-06-17 03:40:50 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-06-17 03:42:00 -0700 |
commit | 1315c900e1ddbb08a23e06eeb9a06450052ccb5e (patch) | |
tree | be09f44458fff4c0d816e3c4f6a787dfe640dd43 /absl | |
parent | f04e489056d9be93072bb633d9818b1e2add6316 (diff) |
Add ABSL_INTERNAL_ATTRIBUTE_VIEW and ABSL_INTERNAL_ATTRIBUTE_OWNER attributes to more types in Abseil
PiperOrigin-RevId: 643946867
Change-Id: Ia4fb583872dabd72c48cc4c20fe23a64dea517a6
Diffstat (limited to 'absl')
-rw-r--r-- | absl/container/btree_map.h | 4 | ||||
-rw-r--r-- | absl/container/btree_set.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/absl/container/btree_map.h b/absl/container/btree_map.h index 0f62f0bd..3515838b 100644 --- a/absl/container/btree_map.h +++ b/absl/container/btree_map.h @@ -85,7 +85,7 @@ struct map_params; // template <typename Key, typename Value, typename Compare = std::less<Key>, typename Alloc = std::allocator<std::pair<const Key, Value>>> -class btree_map +class ABSL_INTERNAL_ATTRIBUTE_OWNER btree_map : public container_internal::btree_map_container< container_internal::btree<container_internal::map_params< Key, Value, Compare, Alloc, /*TargetNodeSize=*/256, @@ -523,7 +523,7 @@ typename btree_map<K, V, C, A>::size_type erase_if( // template <typename Key, typename Value, typename Compare = std::less<Key>, typename Alloc = std::allocator<std::pair<const Key, Value>>> -class btree_multimap +class ABSL_INTERNAL_ATTRIBUTE_OWNER btree_multimap : public container_internal::btree_multimap_container< container_internal::btree<container_internal::map_params< Key, Value, Compare, Alloc, /*TargetNodeSize=*/256, diff --git a/absl/container/btree_set.h b/absl/container/btree_set.h index 97b203a9..6e123ce4 100644 --- a/absl/container/btree_set.h +++ b/absl/container/btree_set.h @@ -87,7 +87,7 @@ struct set_params; // template <typename Key, typename Compare = std::less<Key>, typename Alloc = std::allocator<Key>> -class btree_set +class ABSL_INTERNAL_ATTRIBUTE_OWNER btree_set : public container_internal::btree_set_container< container_internal::btree<container_internal::set_params< Key, Compare, Alloc, /*TargetNodeSize=*/256, @@ -443,7 +443,7 @@ typename btree_set<K, C, A>::size_type erase_if(btree_set<K, C, A> &set, // template <typename Key, typename Compare = std::less<Key>, typename Alloc = std::allocator<Key>> -class btree_multiset +class ABSL_INTERNAL_ATTRIBUTE_OWNER btree_multiset : public container_internal::btree_multiset_container< container_internal::btree<container_internal::set_params< Key, Compare, Alloc, /*TargetNodeSize=*/256, |