summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpp/include/Ice/Proxy.h1
-rw-r--r--cpp/src/Ice/Proxy.cpp24
2 files changed, 0 insertions, 25 deletions
diff --git a/cpp/include/Ice/Proxy.h b/cpp/include/Ice/Proxy.h
index 89a9504c625..ec2f6dd5b0d 100644
--- a/cpp/include/Ice/Proxy.h
+++ b/cpp/include/Ice/Proxy.h
@@ -238,7 +238,6 @@ public:
void __handleExceptionWrapperRelaxed(const ::IceInternal::Handle< ::IceDelegate::Ice::Object>&,
const ::IceInternal::LocalExceptionWrapper&, IceInternal::OutgoingAsync*,
int&);
- void __checkTwowayOnly(const char*) const;
void __checkTwowayOnly(const ::std::string&) const;
::IceInternal::Handle< ::IceDelegate::Ice::Object> __getDelegate(bool);
diff --git a/cpp/src/Ice/Proxy.cpp b/cpp/src/Ice/Proxy.cpp
index afe5aa2607f..69a3efcabf7 100644
--- a/cpp/src/Ice/Proxy.cpp
+++ b/cpp/src/Ice/Proxy.cpp
@@ -981,30 +981,6 @@ IceProxy::Ice::Object::__handleExceptionWrapperRelaxed(const ::IceInternal::Hand
}
}
-//
-// Overloaded for const char* and const string& because, most of time,
-// we call this with a const char* and we want to avoid the overhead
-// of constructing a string.
-//
-// NOTE: Remove for 3.4, the generated code no long calls __checkTwowayOnly
-// using a const char*
-//
-void
-IceProxy::Ice::Object::__checkTwowayOnly(const char* name) const
-{
- //
- // No mutex lock necessary, there is nothing mutable in this
- // operation.
- //
-
- if(!ice_isTwoway())
- {
- TwowayOnlyException ex(__FILE__, __LINE__);
- ex.operation = name;
- throw ex;
- }
-}
-
void
IceProxy::Ice::Object::__checkTwowayOnly(const string& name) const
{