summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/InstrumentationI.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-07-27 19:30:37 -0400
committerBernard Normier <bernard@zeroc.com>2016-07-27 19:30:37 -0400
commit883edab4361e58957796f25d5fc55cfb41f0f6ea (patch)
treefc90adc372b66bf0becf4c0912794c64af250a29 /cpp/src/Ice/InstrumentationI.cpp
parentICE-7242 - Cross test updates (diff)
downloadice-883edab4361e58957796f25d5fc55cfb41f0f6ea.tar.bz2
ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.tar.xz
ice-883edab4361e58957796f25d5fc55cfb41f0f6ea.zip
Deprecate Communicator::stringToIdentity and identityToString
Diffstat (limited to 'cpp/src/Ice/InstrumentationI.cpp')
-rw-r--r--cpp/src/Ice/InstrumentationI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/InstrumentationI.cpp b/cpp/src/Ice/InstrumentationI.cpp
index 0f816647a11..64ff4f91e07 100644
--- a/cpp/src/Ice/InstrumentationI.cpp
+++ b/cpp/src/Ice/InstrumentationI.cpp
@@ -334,7 +334,7 @@ public:
string
getIdentity() const
{
- return _current.adapter->getCommunicator()->identityToString(_current.id);
+ return identityToString(_current.id);
}
private:
@@ -443,7 +443,7 @@ public:
catch(const Exception&)
{
// Either a fixed proxy or the communicator is destroyed.
- os << _proxy->ice_getCommunicator()->identityToString(_proxy->ice_getIdentity());
+ os << identityToString(_proxy->ice_getIdentity());
os << " [" << _operation << ']';
}
}
@@ -474,7 +474,7 @@ public:
{
if(_proxy)
{
- return _proxy->ice_getCommunicator()->identityToString(_proxy->ice_getIdentity());
+ return identityToString(_proxy->ice_getIdentity());
}
else
{