Changed all catch types to references for polymorphic exceptions.
This commit is contained in:
@@ -4931,7 +4931,7 @@ void SketchObject::validateExternalLinks(void)
|
||||
refSubShape = refShape.getSubShape(SubElement.c_str());
|
||||
}
|
||||
}
|
||||
catch (Standard_Failure) {
|
||||
catch (Standard_Failure&) {
|
||||
rebuild = true ;
|
||||
Objects.erase(Objects.begin()+i);
|
||||
SubElements.erase(SubElements.begin()+i);
|
||||
|
||||
Reference in New Issue
Block a user