Clang warning.
This commit is contained in:
parent
301069fbff
commit
a2a8f7a4f0
|
@ -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();
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user