aboutsummaryrefslogtreecommitdiff
path: root/absl/container/node_hash_set.h
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2024-06-12 08:13:58 -0700
committerCopybara-Service <copybara-worker@google.com>2024-06-12 08:14:45 -0700
commit567ebd0540f4e56d125491e71e2727d8ab5458e0 (patch)
treeee113945348f45a35b4f236abacf769227632c4d /absl/container/node_hash_set.h
parenta0889af0a23030e6bb27c6c7241bade7e59cb763 (diff)
downloadabseil-567ebd0540f4e56d125491e71e2727d8ab5458e0.tar.gz
abseil-567ebd0540f4e56d125491e71e2727d8ab5458e0.tar.bz2
abseil-567ebd0540f4e56d125491e71e2727d8ab5458e0.zip
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/container/node_hash_set.h')
-rw-r--r--absl/container/node_hash_set.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/absl/container/node_hash_set.h b/absl/container/node_hash_set.h
index deeb49ce..82e4923e 100644
--- a/absl/container/node_hash_set.h
+++ b/absl/container/node_hash_set.h
@@ -40,6 +40,7 @@
#include <type_traits>
#include "absl/algorithm/container.h"
+#include "absl/base/attributes.h"
#include "absl/container/hash_container_defaults.h"
#include "absl/container/internal/container_memory.h"
#include "absl/container/internal/node_slot_policy.h"
@@ -111,7 +112,7 @@ struct NodeHashSetPolicy;
// }
template <class T, class Hash = DefaultHashContainerHash<T>,
class Eq = DefaultHashContainerEq<T>, class Alloc = std::allocator<T>>
-class node_hash_set
+class ABSL_INTERNAL_ATTRIBUTE_OWNER node_hash_set
: public absl::container_internal::raw_hash_set<
absl::container_internal::NodeHashSetPolicy<T>, Hash, Eq, Alloc> {
using Base = typename node_hash_set::raw_hash_set;