Cleanup: move return statement to new line + trailing

Follow-up to #6497
This commit is contained in:
luz paz
2022-12-03 12:33:25 -05:00
committed by 0penBrain
parent 74b8b09caf
commit f17b73a7bf
5 changed files with 40 additions and 22 deletions

View File

@@ -261,7 +261,9 @@ public:
}
auto& pylist = wrappers[obj];
if (std::find_if(pylist.cbegin(), pylist.cend(), [pyobj](const Py::Object& py) { return py.ptr() == pyobj; }) == pylist.end()) {
if (std::find_if(pylist.cbegin(), pylist.cend(), [pyobj](const Py::Object& py) {
return py.ptr() == pyobj;
}) == pylist.end()) {
pylist.emplace_back(pyobj);
}
}