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 1a6fd6b048
commit e13c09235f
53 changed files with 98 additions and 98 deletions

View File

@@ -3048,7 +3048,7 @@ bool Sketch::updateGeometry()
#endif
}
} catch (Base::Exception e) {
} catch (Base::Exception &e) {
Base::Console().Error("Updating geometry: Error build geometry(%d): %s\n",
i,e.what());
return false;
@@ -3659,7 +3659,7 @@ bool Sketch::hasDependentParameters(int geoId, PointPos pos) const
try {
geoId = checkGeoId(geoId);
}
catch (Base::Exception) {
catch (Base::Exception&) {
return false;
}