]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use try_emplace in index-write.c
authorTom Tromey <tom@tromey.com>
Sun, 15 Oct 2023 18:15:36 +0000 (12:15 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 29 Nov 2023 21:29:44 +0000 (14:29 -0700)
commitb096524827460d2a3a7e7d08ae6c2f41a1388bab
tree98eeb653b6f5bfc21e8084471a8e8e50b943c23f
parentdead89d27645c391b62da24a2f2942fb8a819d45
Use try_emplace in index-write.c

index-write.c has a comment indicating that C++17's try_emplace could
be used.  This patch makes the change.

Approved-By: Pedro Alves <pedro@palves.net>
gdb/dwarf2/index-write.c