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
Copyright update 2020
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_MaxLength.cxx
diff --git
a/src/StdMeshers/StdMeshers_MaxLength.cxx
b/src/StdMeshers/StdMeshers_MaxLength.cxx
index 3d552994013e4496dc2930e2e4e50755237dbded..2307c396c7144220d8d8b90fb70c1ad2fe60897a 100644
(file)
--- a/
src/StdMeshers/StdMeshers_MaxLength.cxx
+++ b/
src/StdMeshers/StdMeshers_MaxLength.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
15
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
20
CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-17,7
+17,7
@@
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-// SMESH SMESH : implementaion of SMESH idl descriptions
+// SMESH SMESH : implementa
t
ion of SMESH idl descriptions
// File : StdMeshers_MaxLength.cxx
// Module : SMESH
//
// File : StdMeshers_MaxLength.cxx
// Module : SMESH
//
@@
-47,8
+47,8
@@
using namespace std;
*/
//=============================================================================
*/
//=============================================================================
-StdMeshers_MaxLength::StdMeshers_MaxLength(int hypId,
int studyId,
SMESH_Gen * gen)
- :SMESH_Hypothesis(hypId,
studyId,
gen)
+StdMeshers_MaxLength::StdMeshers_MaxLength(int hypId, SMESH_Gen * gen)
+ :SMESH_Hypothesis(hypId, gen)
{
_length = 1.;
_preestimated = 0.;
{
_length = 1.;
_preestimated = 0.;
@@
-158,20
+158,20
@@
istream & StdMeshers_MaxLength::LoadFrom(istream & load)
bool isOK = true;
double a;
bool isOK = true;
double a;
- isOK = (load >> a);
+ isOK =
static_cast<bool>
(load >> a);
if (isOK)
_length = a;
else
load.clear(ios::badbit | load.rdstate());
if (isOK)
_length = a;
else
load.clear(ios::badbit | load.rdstate());
- isOK = (load >> a);
+ isOK =
static_cast<bool>
(load >> a);
if (isOK)
_preestimated = a;
else
load.clear(ios::badbit | load.rdstate());
bool pre;
if (isOK)
_preestimated = a;
else
load.clear(ios::badbit | load.rdstate());
bool pre;
- isOK = (load >> pre);
+ isOK =
static_cast<bool>
(load >> pre);
if ( isOK )
_preestimation = pre;
else
if ( isOK )
_preestimation = pre;
else