projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0031668: Visualization - WebGL sample doesn't work on Emscripten 1.39
[occt.git]
/
src
/
BinObjMgt
/
BinObjMgt_Persistent.lxx
diff --git
a/src/BinObjMgt/BinObjMgt_Persistent.lxx
b/src/BinObjMgt/BinObjMgt_Persistent.lxx
index
de9eb24
..
c7c22af
100644
(file)
--- a/
src/BinObjMgt/BinObjMgt_Persistent.lxx
+++ b/
src/BinObjMgt/BinObjMgt_Persistent.lxx
@@
-227,6
+227,6
@@
inline const BinObjMgt_Persistent& BinObjMgt_Persistent::GetBoolean
// Standard_Integer anIntVal = (Standard_Integer) theValue;
Standard_Integer anIntVal;
GetInteger (anIntVal);
- theValue =
(Standard_Boolean) anIntVal
;
+ theValue =
anIntVal != 0
;
return *this;
}