aboutsummaryrefslogtreecommitdiffhomepage
path: root/absl/container/internal/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/container/internal/common.h')
-rw-r--r--absl/container/internal/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/absl/container/internal/common.h b/absl/container/internal/common.h
index 4bd5d46..cc7633d 100644
--- a/absl/container/internal/common.h
+++ b/absl/container/internal/common.h
@@ -167,6 +167,11 @@ struct CommonAccess {
}
template <typename Node>
+ static void Destroy(Node* node) {
+ node->destroy();
+ }
+
+ template <typename Node>
static void Reset(Node* node) {
node->reset();
}