summaryrefslogtreecommitdiff
path: root/cpp/test/Common/TestCommon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Common/TestCommon.cpp')
-rw-r--r--cpp/test/Common/TestCommon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Common/TestCommon.cpp b/cpp/test/Common/TestCommon.cpp
index 967a69e4602..2b5307f1cc3 100644
--- a/cpp/test/Common/TestCommon.cpp
+++ b/cpp/test/Common/TestCommon.cpp
@@ -84,7 +84,7 @@ RemoteConfig::RemoteConfig(const std::string& name, int argc, char** argv, const
}
}
- Test::Common::ServerPrx server;
+ Test::Common::ServerPrxPtr server;
if(!controllerHost.empty())
{
@@ -97,7 +97,7 @@ RemoteConfig::RemoteConfig(const std::string& name, int argc, char** argv, const
Test::Common::StringSeq options;
- Test::Common::ControllerPrx controller = Test::Common::ControllerPrx::checkedCast(
+ Test::Common::ControllerPrxPtr controller = ICE_CHECKED_CAST(Test::Common::ControllerPrx,
communicator->stringToProxy("controller:tcp -h " + controllerHost + " -p 15000"));
server = controller->runServer("cpp", name, prot, host, false, configName, options);
server->waitForServer();