PD: [skip ci] Fix several clazy issues:

* Maybe you meant to call base method instead [-Wclazy-skipped-base-method]
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Mixing iterators with const_iterators [-Wclazy-strict-iterators]
* Unused QByteArray [-Wclazy-unused-non-trivial-variable]
* C++11 range-loop might detach Qt container (QList) [-Wclazy-range-loop-detach]
This commit is contained in:
wmayer
2022-07-25 13:40:19 +02:00
parent 50ef527ded
commit a93082bc06
19 changed files with 83 additions and 83 deletions

View File

@@ -236,7 +236,7 @@ App::DocumentObjectExecReturn *Transformed::execute(void)
shapes.emplace_back(shape);
}
for (auto shape : shapes)
for (const auto& shape : shapes)
shapeTools.Append(shape);
return shapeTools;