Merge pull request #19097 from hyarion/refactor/template-based-is-derived-from
Simplify code by using BaseClass' isDerivedFrom<> and is<>
This commit is contained in:
@@ -573,7 +573,7 @@ void DrawView::handleChangedPropertyType(Base::XMLReader &reader, const char * T
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (prop->isDerivedFrom(App::PropertyLinkList::getClassTypeId())
|
||||
else if (prop->isDerivedFrom<App::PropertyLinkList>()
|
||||
&& strcmp(prop->getName(), "Source") == 0) {
|
||||
App::PropertyLinkGlobal glink;
|
||||
App::PropertyLink link;
|
||||
|
||||
Reference in New Issue
Block a user