Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fight warnings, c++17. additional corrections++
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_NumberOfSegments.cxx
diff --git
a/src/StdMeshers/StdMeshers_NumberOfSegments.cxx
b/src/StdMeshers/StdMeshers_NumberOfSegments.cxx
index 1dfa663e70ffba5730aa3ae76dac2cf0539d45e5..08f1210b95afdf341dde29e47aba0f5bf0d90ca2 100644
(file)
--- a/
src/StdMeshers/StdMeshers_NumberOfSegments.cxx
+++ b/
src/StdMeshers/StdMeshers_NumberOfSegments.cxx
@@
-226,7
+226,7
@@
void StdMeshers_NumberOfSegments::SetTableFunction(const vector<double>& table)
OCC_CATCH_SIGNALS;
val = pow( 10.0, val );
}
OCC_CATCH_SIGNALS;
val = pow( 10.0, val );
}
- catch(Standard_Failure) {
+ catch(Standard_Failure
&
) {
throw SALOME_Exception( LOCALIZED( "invalid value"));
return;
}
throw SALOME_Exception( LOCALIZED( "invalid value"));
return;
}
@@
-319,7
+319,7
@@
bool process( const TCollection_AsciiString& str, int convMode,
OCC_CATCH_SIGNALS;
myExpr = ExprIntrp_GenExp::Create();
myExpr->Process( str.ToCString() );
OCC_CATCH_SIGNALS;
myExpr = ExprIntrp_GenExp::Create();
myExpr->Process( str.ToCString() );
- } catch(Standard_Failure) {
+ } catch(Standard_Failure
&
) {
parsed_ok = false;
}
parsed_ok = false;
}