mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-30 23:41:47 +08:00
0030611: Coding Rules - eliminate GCC compiler warnings -Wcatch-value
Add missing const& to catch statements.
This commit is contained in:
@@ -437,7 +437,7 @@ void Geom2dAPI_PointsToBSpline::Init
|
||||
try {
|
||||
Variation.Approximate();
|
||||
}
|
||||
catch (Standard_Failure) {
|
||||
catch (Standard_Failure const&) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user