aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-06-18 22:06:05 -0600
committerTom Tromey <tom@tromey.com>2023-06-20 07:52:28 -0600
commitc65030964b684fd1df13346b678b42beee9af8e1 (patch)
treeea1ed63cb2b551fa158df61089c602bac3ca0ee0 /gas
parent6b19f38ae331d2d889354fcd749e2478a868251c (diff)
downloadfsf-binutils-gdb-c65030964b684fd1df13346b678b42beee9af8e1.zip
fsf-binutils-gdb-c65030964b684fd1df13346b678b42beee9af8e1.tar.gz
fsf-binutils-gdb-c65030964b684fd1df13346b678b42beee9af8e1.tar.bz2
Use std::string in do_set_command
do_set_command manually updates a string, only to copy it to a std::string and free the working copy. This patch changes this code to use std::string for everything, simplifying the code and removing a copy. Reviewed-by: John Baldwin <jhb@FreeBSD.org>
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions