diff options
author | Markus Armbruster | 2020-12-11 18:11:50 +0100 |
---|---|---|
committer | Markus Armbruster | 2020-12-19 10:39:23 +0100 |
commit | 7ece42110d2cde04f8cbfbceec536340344eab4e (patch) | |
tree | 8d0f47dfae1cf3c100e58e34b3cad6c395ddf303 /hw/timer/renesas_tmr.c | |
parent | json: Use GString instead of QString to accumulate strings (diff) | |
download | qemu-7ece42110d2cde04f8cbfbceec536340344eab4e.tar.gz qemu-7ece42110d2cde04f8cbfbceec536340344eab4e.tar.xz qemu-7ece42110d2cde04f8cbfbceec536340344eab4e.zip |
keyval: Use GString to accumulate value strings
QString supports modifying its string, but it's quite limited: you can
only append. The remaining callers use it for building an initial
string, never for modifying it later.
Change keyval_parse_one() to do build the initial string with GString.
This is another step towards making QString immutable.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201211171152.146877-19-armbru@redhat.com>
Diffstat (limited to 'hw/timer/renesas_tmr.c')
0 files changed, 0 insertions, 0 deletions