diff options
author | Mark Spruiell <mes@zeroc.com> | 2008-02-13 12:13:04 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2008-02-13 12:13:04 -0800 |
commit | c0d5affc42b18f26d556fdff3a4a5ef795658b23 (patch) | |
tree | 7cd59e16164fbf4dca856f02f56631677cd19605 /cpp/src/Ice/Reference.cpp | |
parent | bug 2677 - Glacier2/callback demo fails in C# (diff) | |
download | ice-c0d5affc42b18f26d556fdff3a4a5ef795658b23.tar.bz2 ice-c0d5affc42b18f26d556fdff3a4a5ef795658b23.tar.xz ice-c0d5affc42b18f26d556fdff3a4a5ef795658b23.zip |
bug fix in Reference::hash()
Diffstat (limited to 'cpp/src/Ice/Reference.cpp')
-rwxr-xr-x | cpp/src/Ice/Reference.cpp | 2 |
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; |