diff options
author | Mark Spruiell <mes@zeroc.com> | 2015-12-17 15:11:41 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2015-12-17 15:11:41 -0800 |
commit | 01abd85b7043b2a230f3e0fe2af854fecd73f263 (patch) | |
tree | deffe92d0a0c83fff57edf7f77e701b43533abd8 /cpp/test/Common/TestCommon.cpp | |
parent | updating .travis.yml for bluetooth prereqs (diff) | |
download | ice-01abd85b7043b2a230f3e0fe2af854fecd73f263.tar.bz2 ice-01abd85b7043b2a230f3e0fe2af854fecd73f263.tar.xz ice-01abd85b7043b2a230f3e0fe2af854fecd73f263.zip |
Travis & C++11 fixes
Diffstat (limited to 'cpp/test/Common/TestCommon.cpp')
-rw-r--r-- | cpp/test/Common/TestCommon.cpp | 4 |
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(); |