Mesh: Fix linter warnings

This commit is contained in:
wmayer
2024-11-20 23:02:40 +01:00
committed by wwmayer
parent 4e82a0af48
commit 7a2bfb7370
86 changed files with 1734 additions and 1882 deletions

View File

@@ -54,7 +54,7 @@ PyObject* ViewProviderMeshPy::setSelection(PyObject* args)
selection.reserve(list.size());
for (Py::Sequence::iterator it = list.begin(); it != list.end(); ++it) {
Py::Long index(*it);
Mesh::FacetIndex value = static_cast<Mesh::FacetIndex>(index);
auto value = static_cast<Mesh::FacetIndex>(index);
selection.push_back(value);
}
@@ -75,7 +75,7 @@ PyObject* ViewProviderMeshPy::addSelection(PyObject* args)
selection.reserve(list.size());
for (Py::Sequence::iterator it = list.begin(); it != list.end(); ++it) {
Py::Long index(*it);
Mesh::FacetIndex value = static_cast<Mesh::FacetIndex>(index);
auto value = static_cast<Mesh::FacetIndex>(index);
selection.push_back(value);
}
@@ -96,7 +96,7 @@ PyObject* ViewProviderMeshPy::removeSelection(PyObject* args)
selection.reserve(list.size());
for (Py::Sequence::iterator it = list.begin(); it != list.end(); ++it) {
Py::Long index(*it);
Mesh::FacetIndex value = static_cast<Mesh::FacetIndex>(index);
auto value = static_cast<Mesh::FacetIndex>(index);
selection.push_back(value);
}