Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
Regex based changes, manually verified
This commit is contained in:
@@ -212,7 +212,7 @@ public:
|
||||
if (pObj == editedObject) {
|
||||
return false;
|
||||
}
|
||||
if (!pObj->isDerivedFrom(Part::Feature::getClassTypeId())) {
|
||||
if (!pObj->isDerivedFrom<Part::Feature>()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user