summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Reference.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-07-14 16:46:54 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-07-14 16:46:54 +0000
commite4f132a981fabf0bb70ac61a12a7d33902f5a0ac (patch)
treed9e9400a722f9a784ec7fe2f0c545870e2f95adb /cppe/src/IceE/Reference.cpp
parentAdded retrieval of login info from user. (diff)
downloadice-e4f132a981fabf0bb70ac61a12a7d33902f5a0ac.tar.bz2
ice-e4f132a981fabf0bb70ac61a12a7d33902f5a0ac.tar.xz
ice-e4f132a981fabf0bb70ac61a12a7d33902f5a0ac.zip
It is not possible to compile the client side library with router support.
Diffstat (limited to 'cppe/src/IceE/Reference.cpp')
-rw-r--r--cppe/src/IceE/Reference.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppe/src/IceE/Reference.cpp b/cppe/src/IceE/Reference.cpp
index e590920dbd9..307b5dca782 100644
--- a/cppe/src/IceE/Reference.cpp
+++ b/cppe/src/IceE/Reference.cpp
@@ -780,12 +780,12 @@ IceInternal::DirectReference::getConnection() const
ConnectionPtr connection = factory->create(filteredEndpoints);
assert(connection);
+#if defined(ICEE_HAS_ROUTER) && !defined(ICEE_PURE_CLIENT)
//
// If we have a router, set the object adapter for this router
// (if any) to the new connection, so that callbacks from the
// router can be received over this new connection.
//
-#ifdef ICEE_HAS_ROUTER
if(getRouterInfo())
{
connection->setAdapter(getRouterInfo()->getAdapter());
@@ -1048,12 +1048,12 @@ IceInternal::IndirectReference::getConnection() const
break;
}
+#if defined(ICEE_HAS_ROUTER) && !defined(ICEE_PURE_CLIENT)
//
// If we have a router, set the object adapter for this router
// (if any) to the new connection, so that callbacks from the
// router can be received over this new connection.
//
-#ifdef ICEE_HAS_ROUTER
if(getRouterInfo())
{
connection->setAdapter(getRouterInfo()->getAdapter());