Cleanup: move return statement to new line + trailing
Follow-up to #6497
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user