summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/CommunicatorI.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/cpp/src/Ice/CommunicatorI.cpp b/cpp/src/Ice/CommunicatorI.cpp
index b5de2d989d6..de757ed2cde 100644
--- a/cpp/src/Ice/CommunicatorI.cpp
+++ b/cpp/src/Ice/CommunicatorI.cpp
@@ -207,11 +207,6 @@ Ice::CommunicatorI::createObjectAdapter(const string& name)
ObjectAdapterPtr
Ice::CommunicatorI::createObjectAdapterWithEndpoints(const string& name, const string& endpoints)
{
- //
- // The createObjectAdapter() call may throw, so we keep track of
- // endpoint properties that already exist so we can revert the
- // properties to their original value.
- //
const string propertyKey = name + ".Endpoints";
const string originalValue = getProperties()->getProperty(propertyKey);
try