summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Reference.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/src/IceE/Reference.cpp')
-rw-r--r--cppe/src/IceE/Reference.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cppe/src/IceE/Reference.cpp b/cppe/src/IceE/Reference.cpp
index 8679e3034c5..9214deb990e 100644
--- a/cppe/src/IceE/Reference.cpp
+++ b/cppe/src/IceE/Reference.cpp
@@ -1058,7 +1058,11 @@ IceInternal::IndirectReference::hash() const
{
return _hashValue;
}
+#ifdef ICEE_HAS_ROUTER
RoutableReference::hash(); // Initializes _hashValue.
+#else
+ Reference::hash(); // Initializes _hashValue.
+#endif
for(string::const_iterator p = _adapterId.begin(); p != _adapterId.end(); ++p) // Add hash of adapter ID to base hash.
{
_hashValue = 5 * _hashValue + *p;