Salome HOME
projects
/
plugins
/
netgenplugin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix compilation errors using gcc-5.X relating to explicit stream::operator bool()
[plugins/netgenplugin.git]
/
src
/
NETGENPlugin
/
NETGENPlugin_SimpleHypothesis_3D.cxx
diff --git
a/src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_3D.cxx
b/src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_3D.cxx
index f52119c926e951803967c4cede4b10a4a28d2a21..113e4e4e349550fbd500a5fd528703cda636a3bb 100644
(file)
--- a/
src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_3D.cxx
+++ b/
src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_3D.cxx
@@
-106,7
+106,7
@@
istream & NETGENPlugin_SimpleHypothesis_3D::LoadFrom(istream & load)
bool isOK = true;
double val;
- isOK = (load >> val);
+ isOK =
static_cast<bool>
(load >> val);
if (isOK)
_volume = val;
else