diff options
Diffstat (limited to 'absl/container/internal/common.h')
-rw-r--r-- | absl/container/internal/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/absl/container/internal/common.h b/absl/container/internal/common.h index 4bd5d469746b..cc7633dcfa15 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(); } |