summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/ServerCache.cpp')
-rw-r--r--cpp/src/IceGrid/ServerCache.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/ServerCache.cpp b/cpp/src/IceGrid/ServerCache.cpp
index f5a9cb4acc2..a0b3037a8f3 100644
--- a/cpp/src/IceGrid/ServerCache.cpp
+++ b/cpp/src/IceGrid/ServerCache.cpp
@@ -8,7 +8,6 @@
// **********************************************************************
#include <Ice/LoggerUtil.h>
-#include <Ice/IdentityUtil.h>
#include <Ice/Communicator.h>
#include <IceGrid/ServerCache.h>
#include <IceGrid/NodeCache.h>
@@ -172,11 +171,11 @@ ServerCache::addCommunicator(const CommunicatorDescriptorPtr& comm, const Server
if(q->id.empty())
{
const string edpts = IceGrid::getProperty(comm->propertySet, q->name + ".Endpoints");
- info.proxy = _communicator->stringToProxy(Ice::identityToString(r->id) + ":" + edpts);
+ info.proxy = _communicator->stringToProxy(_communicator->identityToString(r->id) + ":" + edpts);
}
else
{
- info.proxy = _communicator->stringToProxy(Ice::identityToString(r->id) + "@" + q->id);
+ info.proxy = _communicator->stringToProxy(_communicator->identityToString(r->id) + "@" + q->id);
}
_objectCache.add(info, application, r->allocatable, parent);
}