diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2016-11-30 21:46:49 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2016-11-30 21:46:49 -0500 |
commit | 95a23284a3db0ec85bb0b11c70e6b5acf00563f6 (patch) | |
tree | e62c9f38873cbefe0907aa8b6cfe76c91e9f47e4 /bfd | |
parent | b9b118c3bb29052ee76c6bf32b99962cda5113ba (diff) | |
download | gdb-95a23284a3db0ec85bb0b11c70e6b5acf00563f6.zip gdb-95a23284a3db0ec85bb0b11c70e6b5acf00563f6.tar.gz gdb-95a23284a3db0ec85bb0b11c70e6b5acf00563f6.tar.bz2 |
Use std::string in ui_out_table
Use std::string for the id field of the ui_out_table object.
I found that all users of ui_out_table_begin passed a non-NULL value to
the tblid parameter, so we don't have to worry about the NULL case. I
changed the tblid parameter to be a std::string while at it.
gdb/ChangeLog:
* ui-out.c (struct ui_out_table) <id>: Change type to
std::string.
(ui_out_table_begin): Change tblid parameter type to
std::string, adapt code.
update following type change.
(clear_table): Update.
(ui_out_new): Update.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions