From a1abc95ac2b2c473fb86d2db867ff8d970640060 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 20 May 2022 16:43:09 +0100 Subject: [PATCH] Remove use of QStringView from newer Qt versions --- qrenderdoc/Code/BufferFormatter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qrenderdoc/Code/BufferFormatter.cpp b/qrenderdoc/Code/BufferFormatter.cpp index 0d18025ba..6cb6a6302 100644 --- a/qrenderdoc/Code/BufferFormatter.cpp +++ b/qrenderdoc/Code/BufferFormatter.cpp @@ -24,7 +24,6 @@ #include #include -#include #include #include "QRDUtils.h" @@ -568,7 +567,7 @@ ParsedFormat BufferFormatter::ParseFormatString(const QString &formatString, uin QList annotations; - QStringView parseText(text); + QString parseText = text; int parseLine = 0; // get each line and parse it to determine the format the user wanted