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

@@ -93,7 +93,7 @@ Py::Long MeshPointPy::getIndex() const
Py::Boolean MeshPointPy::getBound() const
{
return Py::Boolean(getMeshPointPtr()->Index != UINT_MAX);
return {getMeshPointPtr()->Index != UINT_MAX};
}
Py::Object MeshPointPy::getNormal() const