diff options
author | Jose <jose@zeroc.com> | 2015-12-29 14:07:58 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2015-12-29 14:07:58 +0100 |
commit | 2715a0e3b479b84fc24efa93882df47c2b373d73 (patch) | |
tree | a5971eb833bdb5a13def11910a47e56302213d2c /cpp/src/IceBox/Admin.cpp | |
parent | .gitignore update (diff) | |
download | ice-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.cpp | 4 |
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; |