Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f87cb45
)
numeric_limits fix for Windows
vuzlov/20256_1
author
Viktor Uzlov
<viktor.uzlov@opencascade.com>
Wed, 24 Feb 2021 06:48:52 +0000
(09:48 +0300)
committer
Viktor Uzlov
<viktor.uzlov@opencascade.com>
Wed, 24 Feb 2021 06:48:52 +0000
(09:48 +0300)
src/Basics/smIdType.hxx.in
patch
|
blob
|
history
diff --git
a/src/Basics/smIdType.hxx.in
b/src/Basics/smIdType.hxx.in
index 9f87b9fe66b784a148a85a7c03ed783714fcdebb..e37101088c524646afd108806e062f452db14ac1 100644
(file)
--- a/
src/Basics/smIdType.hxx.in
+++ b/
src/Basics/smIdType.hxx.in
@@
-38,7
+38,7
@@
struct smIdHasher
{
static int HashCode(const smIdType theValue, const int theUpperBound)
{
- return static_cast<int> ((theValue &
std::numeric_limits<smIdType>::max
()) % theUpperBound + 1);
+ return static_cast<int> ((theValue &
(std::numeric_limits<smIdType>::max)
()) % theUpperBound + 1);
}
static bool IsEqual( const smIdType& id1, const smIdType& id2 )