Changed all catch types to references for polymorphic exceptions.
This commit is contained in:
@@ -368,7 +368,7 @@ std::vector<TopoDS_Edge> DrawProjectSplit::split1Edge(TopoDS_Edge e, std::vector
|
||||
result.push_back(e1);
|
||||
}
|
||||
}
|
||||
catch (Standard_Failure) {
|
||||
catch (Standard_Failure&) {
|
||||
Base::Console().Message("LOG - DPS::split1Edge failed building edge segment\n");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user