diff options
Diffstat (limited to 'cpp/demo/Glacier2/callback/Client.cpp')
-rw-r--r-- | cpp/demo/Glacier2/callback/Client.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/demo/Glacier2/callback/Client.cpp b/cpp/demo/Glacier2/callback/Client.cpp index 4be8269e771..b2a76791ede 100644 --- a/cpp/demo/Glacier2/callback/Client.cpp +++ b/cpp/demo/Glacier2/callback/Client.cpp @@ -188,7 +188,8 @@ CallbackClient::run(int argc, char* argv[]) onewayR = CallbackReceiverPrx::uncheckedCast(onewayR->ice_identity(callbackReceiverIdent)); } - cout << "callback receiver identity: " << Ice::identityToString(twowayR->ice_getIdentity()) << endl; + cout << "callback receiver identity: " << communicator()->identityToString(twowayR->ice_getIdentity()) + << endl; } else if(c == 's') { |