diff options
Diffstat (limited to 'mythfs/service/service.cpp')
-rw-r--r-- | mythfs/service/service.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mythfs/service/service.cpp b/mythfs/service/service.cpp index 8a2e77d..df7103d 100644 --- a/mythfs/service/service.cpp +++ b/mythfs/service/service.cpp @@ -1,13 +1,13 @@ #include "service.h" #include <Ice/ObjectAdapter.h> -#include <Ice/Communicator.h> +#include <Ice/Initialize.h> namespace MythFS { - ::NetFS::VolumePrx - Service::connect(const std::string & volume, const std::string &, const Ice::Current & ic) + ::NetFS::VolumePrxPtr + Service::connect(const std::string volume, const std::string, const Ice::Current & ic) { - return ::NetFS::VolumePrx::checkedCast( - ic.adapter->createProxy(ic.adapter->getCommunicator()->stringToIdentity(volume))); + return Ice::checkedCast<::NetFS::VolumePrx>( + ic.adapter->createProxy(Ice::stringToIdentity(volume))); } } |