diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-12-11 18:11:49 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-12-19 10:39:23 +0100 |
commit | 68af4cc1213ec6057ac47765985b6704c6be7fd7 (patch) | |
tree | 31667f061130d72694120d6c093cba7f7fa569e7 /blockdev-nbd.c | |
parent | 3ddba9a9e9bedd20a0b60dcdbe86f16223555555 (diff) |
json: Use GString instead of QString to accumulate 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 parse_string() 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-18-armbru@redhat.com>
Diffstat (limited to 'blockdev-nbd.c')
0 files changed, 0 insertions, 0 deletions