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.
This commit is contained in:
Martin Sebor 2022-02-03 19:44:44 -07:00
parent 682ede3959
commit e78d98f76f

View File

@ -164,9 +164,9 @@ class pointer_query
struct cache_type
{
/* 1-based indices into cache. */
vec<unsigned> indices;
auto_vec<unsigned> indices;
/* The cache itself. */
vec<access_ref> access_refs;
auto_vec<access_ref> access_refs;
};
public: