]> git.proxmox.com Git - mirror_qemu.git/commit
monitor: Use GString instead of QString for output buffer
authorMarkus Armbruster <armbru@redhat.com>
Fri, 11 Dec 2020 17:11:34 +0000 (18:11 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 19 Dec 2020 09:38:35 +0000 (10:38 +0100)
commit20076f4a8c3b275272d0b907f37c126bd91ec1b9
treed031d84197d97711dc313f3e066b5657c78780c5
parent436054e22f8447692196ddae7012f6083140e461
monitor: Use GString instead of QString for output buffer

GString has a richer set of string operations than QString.  It should
be preferred to QString except where we need a QObject or reference
counting.  We don't here.  Switch to GString, and put its richer
interface to use.

Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201211171152.146877-3-armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
monitor/misc.c
monitor/monitor-internal.h
monitor/monitor.c