]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Merge both implementations of debug_names::insert
authorTom Tromey <tom@tromey.com>
Fri, 23 Sep 2022 22:23:41 +0000 (16:23 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 8 Oct 2022 15:00:06 +0000 (09:00 -0600)
commit4482b068b2b50878b7a03651318cd8cd32d698cf
tree994fc470803e33294c53636d1b32bffe7b6033e7
parentdb95282ce93b6453bc533ea1dbe1637213daf59b
Merge both implementations of debug_names::insert

The class debug_names has two 'insert' overloads, but only one of them
is ever called externally, and it simply forwards to the other
implementation.  It seems cleaner to me to have a single method, so
this patch merges the two.
gdb/dwarf2/index-write.c