Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
Regex based changes, manually verified
This commit is contained in:
@@ -122,7 +122,7 @@ void ViewProviderFemPostFunctionProvider::updateSize()
|
||||
{
|
||||
std::vector<App::DocumentObject*> vec = claimChildren();
|
||||
for (auto it : vec) {
|
||||
if (!it->isDerivedFrom(Fem::FemPostFunction::getClassTypeId())) {
|
||||
if (!it->isDerivedFrom<Fem::FemPostFunction>()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user