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
#18963 Minimize compiler warnings
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_AutomaticLength.cxx
diff --git
a/src/StdMeshers/StdMeshers_AutomaticLength.cxx
b/src/StdMeshers/StdMeshers_AutomaticLength.cxx
index 585e9193b1d1ad3f73a32bf9e4d146a7e50c40bc..b9964faef8f995cdd834921c819fa4f5757ad386 100644
(file)
--- a/
src/StdMeshers/StdMeshers_AutomaticLength.cxx
+++ b/
src/StdMeshers/StdMeshers_AutomaticLength.cxx
@@
-84,7
+84,6
@@
const double theCoarseConst = 0.5;
const double theFineConst = 4.5;
void StdMeshers_AutomaticLength::SetFineness(double theFineness)
const double theFineConst = 4.5;
void StdMeshers_AutomaticLength::SetFineness(double theFineness)
- throw(SALOME_Exception)
{
if ( theFineness < 0.0 || theFineness > 1.0 )
throw SALOME_Exception(LOCALIZED("theFineness is out of range [0.0-1.0]"));
{
if ( theFineness < 0.0 || theFineness > 1.0 )
throw SALOME_Exception(LOCALIZED("theFineness is out of range [0.0-1.0]"));
@@
-239,7
+238,6
@@
namespace {
double StdMeshers_AutomaticLength::GetLength(const SMESH_Mesh* theMesh,
const double theEdgeLength)
double StdMeshers_AutomaticLength::GetLength(const SMESH_Mesh* theMesh,
const double theEdgeLength)
- throw(SALOME_Exception)
{
if ( !theMesh ) throw SALOME_Exception(LOCALIZED("NULL Mesh"));
{
if ( !theMesh ) throw SALOME_Exception(LOCALIZED("NULL Mesh"));
@@
-261,7
+259,6
@@
double StdMeshers_AutomaticLength::GetLength(const SMESH_Mesh* theMesh,
double StdMeshers_AutomaticLength::GetLength(const SMESH_Mesh* theMesh,
const TopoDS_Shape& anEdge)
double StdMeshers_AutomaticLength::GetLength(const SMESH_Mesh* theMesh,
const TopoDS_Shape& anEdge)
- throw(SALOME_Exception)
{
if ( !theMesh ) throw SALOME_Exception(LOCALIZED("NULL Mesh"));
{
if ( !theMesh ) throw SALOME_Exception(LOCALIZED("NULL Mesh"));