Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
Regex based changes, manually verified
This commit is contained in:
@@ -759,7 +759,7 @@ bool DocumentObject::removeDynamicProperty(const char* name)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (prop->isDerivedFrom(PropertyLinkBase::getClassTypeId())) {
|
||||
if (prop->isDerivedFrom<PropertyLinkBase>()) {
|
||||
clearOutListCache();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user