Fem: Use freecad_cast whenever possible

This commit is contained in:
Kacper Donat
2025-04-25 00:05:49 +02:00
committed by Benjamin Nauck
parent ecdadf7955
commit 4487dc84a0
3 changed files with 3 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ protected:
template<class T>
T* getObject() const
{
return dynamic_cast<T*>(getObject());
return freecad_cast<T*>(getObject());
}
bool blockObjectUpdates()