summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Proxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Proxy.cpp')
-rw-r--r--cpp/src/Ice/Proxy.cpp24
1 files changed, 0 insertions, 24 deletions
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
{