Fix several clazy issue:
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
This commit is contained in:
@@ -696,7 +696,7 @@ PyObject* DocumentObjectPy::getPathsByOutList(PyObject *args)
|
||||
(o)->getDocumentObjectPtr();
|
||||
auto array = getDocumentObjectPtr()->getPathsByOutList(target);
|
||||
Py::List list;
|
||||
for (auto it : array) {
|
||||
for (const auto& it : array) {
|
||||
Py::List path;
|
||||
for (auto jt : it) {
|
||||
path.append(Py::asObject(jt->getPyObject()));
|
||||
|
||||
Reference in New Issue
Block a user