summaryrefslogtreecommitdiff
path: root/cppe/src
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-02-28 15:41:52 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-02-28 15:41:52 +0000
commit6502f5110004796d761192481e50852bdd6595fd (patch)
treefd2d8110fbcdde437f490e71e3ccccce50a294f3 /cppe/src
parentAdded blurb on alternate sequence mappings (diff)
downloadice-6502f5110004796d761192481e50852bdd6595fd.tar.bz2
ice-6502f5110004796d761192481e50852bdd6595fd.tar.xz
ice-6502f5110004796d761192481e50852bdd6595fd.zip
Fixed compile error with no router
Diffstat (limited to 'cppe/src')
-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;