summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Reference.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Reference.cpp')
-rwxr-xr-xcpp/src/Ice/Reference.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/Reference.cpp b/cpp/src/Ice/Reference.cpp
index c59122ccdad..c4b60bce3e8 100755
--- a/cpp/src/Ice/Reference.cpp
+++ b/cpp/src/Ice/Reference.cpp
@@ -477,7 +477,7 @@ IceInternal::Reference::hashInit() const
h = 5 * h + *p;
}
- _hashValue = 5 * _hashValue + static_cast<Int>(_secure);
+ h = 5 * h + static_cast<Int>(_secure);
_hashValue = h;
_hashInitialized = true;