Salome HOME
projects
/
plugins
/
hexablockplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8374f0
)
Fix compilation errors using gcc-5.X relating to explicit stream::operator bool()
V7_8_0a1
author
eap
<eap@opencascade.com>
Thu, 14 Jan 2016 11:08:36 +0000
(14:08 +0300)
committer
eap
<eap@opencascade.com>
Thu, 14 Jan 2016 11:08:36 +0000
(14:08 +0300)
src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis.cxx
patch
|
blob
|
history
diff --git
a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis.cxx
b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis.cxx
index f8e6134c7e2e65a25b92b120820f1acf1a10ae05..b8061a499462e90f053e2c88ede959d78679ac4b 100755
(executable)
--- a/
src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis.cxx
+++ b/
src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis.cxx
@@
-124,7
+124,7
@@
std::istream & HEXABLOCKPlugin_Hypothesis::LoadFrom(std::istream & load)
// else
// load.clear(ios::badbit | load.rdstate());
- isOK = (load >> i);
+ isOK =
static_cast<bool>
(load >> i);
if (isOK)
hyp_dimension = i;
else