QTextHtmlParser::parseEntity: Remove const that prevents automatic move
Reported in https://testresults.qt.io/codechecker/daily_diffs/qtbase/dev/qtbase-dev-20210604-57bb7cac64 Change-Id: I3365879d18ceb0977c5fc24e2c11c9339afaafd6 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
75b0e8d599
commit
a1d967357f
@ -843,7 +843,7 @@ QString QTextHtmlParser::parseEntity()
|
||||
}
|
||||
if (entityLen) {
|
||||
const QStringView entity = QStringView(txt).mid(recover, entityLen);
|
||||
const QString parsedEntity = parseEntity(entity);
|
||||
QString parsedEntity = parseEntity(entity);
|
||||
if (!parsedEntity.isNull()) {
|
||||
return parsedEntity;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user