Changed all catch types to references for polymorphic exceptions.

This commit is contained in:
Markus Lampert
2018-07-30 10:28:54 -07:00
committed by wmayer
parent 1cbd5cc994
commit 0b40519f3f
53 changed files with 98 additions and 98 deletions

View File

@@ -241,7 +241,7 @@ BaseGeom* BaseGeom::baseFactory(TopoDS_Edge edge)
}
break;
}
catch (Standard_Failure) {
catch (Standard_Failure&) {
if (bspline != nullptr) {
delete bspline;
bspline = nullptr;