gdb/dwarf: remove cooked_index::vec_type

I find this typedef to be confusing.  The name is a bit too generic, so
it's not clear what it represents.  When using the typedef for a
cooked_index_shard unique pointer, I think that spelling out the vector
type is not overly long.

Change-Id: I99fdab5cd925c37c3835b466ce40ec9c1ec7209d
Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
Simon Marchi
2025-02-10 11:54:57 -05:00
committed by Simon Marchi
parent 83c30fcc4d
commit 6c6492e7d3
2 changed files with 5 additions and 8 deletions

View File

@@ -647,7 +647,8 @@ cooked_index::wait (cooked_state desired_state, bool allow_quit)
}
void
cooked_index::set_contents (vec_type &&vec, deferred_warnings *warn,
cooked_index::set_contents (std::vector<cooked_index_shard_up> &&vec,
deferred_warnings *warn,
const parent_map_map *parent_maps)
{
gdb_assert (m_vector.empty ());