Mesh: modernize C++: return braced init list
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user