summaryrefslogtreecommitdiff
path: root/cpp/src/IceBox/Admin.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-12-29 14:07:58 +0100
committerJose <jose@zeroc.com>2015-12-29 14:07:58 +0100
commit2715a0e3b479b84fc24efa93882df47c2b373d73 (patch)
treea5971eb833bdb5a13def11910a47e56302213d2c /cpp/src/IceBox/Admin.cpp
parent.gitignore update (diff)
downloadice-2715a0e3b479b84fc24efa93882df47c2b373d73.tar.bz2
ice-2715a0e3b479b84fc24efa93882df47c2b373d73.tar.xz
ice-2715a0e3b479b84fc24efa93882df47c2b373d73.zip
C++11 mapping fixes for IceBox
Diffstat (limited to 'cpp/src/IceBox/Admin.cpp')
-rw-r--r--cpp/src/IceBox/Admin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceBox/Admin.cpp b/cpp/src/IceBox/Admin.cpp
index 7e3bf812513..4557d52e3b6 100644
--- a/cpp/src/IceBox/Admin.cpp
+++ b/cpp/src/IceBox/Admin.cpp
@@ -92,7 +92,7 @@ Client::run(int argc, char* argv[])
}
- ObjectPrx base = communicator()->propertyToProxy("IceBoxAdmin.ServiceManager.Proxy");
+ ObjectPrxPtr base = communicator()->propertyToProxy("IceBoxAdmin.ServiceManager.Proxy");
if(base == 0)
{
@@ -133,7 +133,7 @@ Client::run(int argc, char* argv[])
base = communicator()->stringToProxy(managerProxy);
}
- IceBox::ServiceManagerPrx manager = IceBox::ServiceManagerPrx::checkedCast(base);
+ IceBox::ServiceManagerPrxPtr manager = ICE_CHECKED_CAST(IceBox::ServiceManagerPrx, base);
if(!manager)
{
cerr << appName() << ": `" << base << "' is not an IceBox::ServiceManager" << endl;