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
Porting to ParaView 5.8
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_Deflection1D.cxx
diff --git
a/src/StdMeshers/StdMeshers_Deflection1D.cxx
b/src/StdMeshers/StdMeshers_Deflection1D.cxx
index 2fbaefb01b7386bbe912df73ea3a5f8d06b8d6e5..87f0c0168f413cd98248f461020532fef129404f 100644
(file)
--- a/
src/StdMeshers/StdMeshers_Deflection1D.cxx
+++ b/
src/StdMeshers/StdMeshers_Deflection1D.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
9
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-20,7
+20,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 StdMeshers_Deflection1D : implementaion of SMESH idl descriptions
+// SMESH StdMeshers_Deflection1D : implementa
t
ion of SMESH idl descriptions
// File : StdMeshers_Deflection1D.cxx
// Module : SMESH
//
// File : StdMeshers_Deflection1D.cxx
// Module : SMESH
//
@@
-50,9
+50,8
@@
using namespace std;
//=============================================================================
StdMeshers_Deflection1D::StdMeshers_Deflection1D(int hypId,
//=============================================================================
StdMeshers_Deflection1D::StdMeshers_Deflection1D(int hypId,
- int studyId,
SMESH_Gen * gen)
SMESH_Gen * gen)
- :SMESH_Hypothesis(hypId,
studyId,
gen)
+ :SMESH_Hypothesis(hypId, gen)
{
_value = 1.;
_name = "Deflection1D";
{
_value = 1.;
_name = "Deflection1D";
@@
-119,7
+118,7
@@
ostream & StdMeshers_Deflection1D::SaveTo(ostream & save)
istream & StdMeshers_Deflection1D::LoadFrom(istream & load)
{
istream & StdMeshers_Deflection1D::LoadFrom(istream & load)
{
- bool isOK = (load >> _value);
+ bool isOK =
static_cast<bool>
(load >> _value);
if (!isOK)
load.clear(ios::badbit | load.rdstate());
return load;
if (!isOK)
load.clear(ios::badbit | load.rdstate());
return load;