From e78d98f76f8d6ee4d06fc98f7f7c3ea4b86c828c Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Thu, 3 Feb 2022 19:44:44 -0700 Subject: [PATCH] Use auto_vec for pointer_query cache for auto cleanup. gcc/Changelog: * pointer-query.h (pointer_query::cache_type): Use auto_vec for auto cleanup. --- gcc/pointer-query.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/pointer-query.h b/gcc/pointer-query.h index 4c725ee..801a240 100644 --- a/gcc/pointer-query.h +++ b/gcc/pointer-query.h @@ -164,9 +164,9 @@ class pointer_query struct cache_type { /* 1-based indices into cache. */ - vec indices; + auto_vec indices; /* The cache itself. */ - vec access_refs; + auto_vec access_refs; }; public: -- 2.7.4