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