diff options
| author | Markus Armbruster | 2020-12-11 18:11:49 +0100 |
|---|---|---|
| committer | Markus Armbruster | 2020-12-19 10:39:23 +0100 |
| commit | 68af4cc1213ec6057ac47765985b6704c6be7fd7 (patch) | |
| tree | 31667f061130d72694120d6c093cba7f7fa569e7 /scripts/checkpatch.pl | |
| parent | migration: Replace migration's JSON writer by the general one (diff) | |
| download | qemu-68af4cc1213ec6057ac47765985b6704c6be7fd7.tar.gz qemu-68af4cc1213ec6057ac47765985b6704c6be7fd7.tar.xz qemu-68af4cc1213ec6057ac47765985b6704c6be7fd7.zip | |
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 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
