Mesh: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-19 01:06:43 +02:00
parent 7402ac7a26
commit e98891859e
12 changed files with 17 additions and 17 deletions

View File

@@ -136,7 +136,7 @@ Py::Long FacetPy::getIndex() const
Py::Boolean FacetPy::getBound() const
{
return Py::Boolean(getFacetPtr()->isBound());
return {getFacetPtr()->isBound()};
}
Py::Object FacetPy::getNormal() const