Some cppcheck fixes

This commit is contained in:
Jan Möbius
2023-08-22 15:08:50 +02:00
parent ae14da24d0
commit 1f376e2cea
2 changed files with 3 additions and 6 deletions

View File

@@ -286,7 +286,7 @@ class PropertyManager {
Storage::swap(rhs, *this);
}
static bool propertyExists(PolyConnectivity &mesh, const char *propname) {
static bool propertyExists(const PolyConnectivity &mesh, const char *propname) {
PROPTYPE dummy;
return mesh.get_property_handle(dummy, propname);
}