Fix several clazy issues:
* C++11 range-loop might detach Qt container [-Wclazy-range-loop-detach]
This commit is contained in:
@@ -309,7 +309,8 @@ PyObject* CommandPy::getAction(PyObject *args)
|
||||
|
||||
Py::List list;
|
||||
if (group) {
|
||||
for (auto a : group->actions())
|
||||
const auto actions = group->actions();
|
||||
for (auto a : actions)
|
||||
list.append(wrap.fromQObject(a));
|
||||
}
|
||||
else if (action) {
|
||||
|
||||
Reference in New Issue
Block a user