Clang warning.

This commit is contained in:
Roman Telezhynskyi 2022-11-10 16:15:11 +02:00
parent 301069fbff
commit a2a8f7a4f0
2 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ void AbstractTest::PassmarkShapeFromJson(const QString &json, QVector<QLineF> &s
TestRoot(shapeObject, shapeKey, json);
QJsonArray vectorArray = shapeObject[shapeKey].toArray();
for (auto && item : vectorArray)
for (auto item : vectorArray)
{
QJsonObject lineObject = item.toObject();

View File

@ -154,7 +154,7 @@ inline auto AbstractTest::VectorFromJson(const QString &json) -> QVector<T>
QVector<T> vector;
vector.reserve(vectorArray.size());
for (auto && item : vectorArray)
for (auto item : vectorArray)
{
try
{