Mesh: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-19 01:06:43 +02:00
parent 0e444a554d
commit 9d780d223a
12 changed files with 17 additions and 17 deletions

View File

@@ -135,7 +135,7 @@ PyObject* EdgePy::unbound(PyObject *args)
Py::Boolean EdgePy::getBound() const
{
return Py::Boolean(getEdgePtr()->isBound());
return {getEdgePtr()->isBound()};
}
Py::List EdgePy::getPoints() const