summaryrefslogtreecommitdiff
path: root/cpp/test/Freeze/evictor/TestI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Freeze/evictor/TestI.cpp')
-rw-r--r--cpp/test/Freeze/evictor/TestI.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/test/Freeze/evictor/TestI.cpp b/cpp/test/Freeze/evictor/TestI.cpp
index 1f7611ffe0c..81dfc619407 100644
--- a/cpp/test/Freeze/evictor/TestI.cpp
+++ b/cpp/test/Freeze/evictor/TestI.cpp
@@ -309,7 +309,7 @@ Test::RemoteEvictorI::deactivate(const Current& current)
{
_evictorAdapter->deactivate();
_evictorAdapter->waitForDeactivate();
- _adapter->remove(stringToIdentity(_category));
+ _adapter->remove(_adapter->getCommunicator()->stringToIdentity(_category));
}
@@ -340,7 +340,8 @@ Test::RemoteEvictorFactoryI::RemoteEvictorFactoryI(const ObjectAdapterPtr& adapt
Test::RemoteEvictorFactoryI::createEvictor(const string& name, const Current& current)
{
RemoteEvictorIPtr remoteEvictor = new RemoteEvictorI(_adapter, _envName, name);
- return RemoteEvictorPrx::uncheckedCast(_adapter->add(remoteEvictor, stringToIdentity(name)));
+ return RemoteEvictorPrx::uncheckedCast(_adapter->add(remoteEvictor,
+ _adapter->getCommunicator()->stringToIdentity(name)));
}
void