Add missing brackets + change indentation to spaces

This commit is contained in:
luz paz
2022-12-04 06:56:22 -05:00
committed by 0penBrain
parent 80efe8191e
commit 7637d58df0
4 changed files with 51 additions and 37 deletions

View File

@@ -261,9 +261,11 @@ 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);
}
}