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

@@ -492,7 +492,7 @@ void Pipe::buildPipePath(const Part::TopoShape& shape, const std::vector< std::s
throw Base::Exception("Spine is neither an edge nor a wire.");
}
}
catch (Standard_Failure) {
catch (Standard_Failure&) {
throw Base::Exception("Invalid spine.");
}
}