diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-09-25 15:44:23 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-09-25 15:44:23 -0230 |
commit | 24f1950dc73f520fa5bb594d77801beede4df423 (patch) | |
tree | 5634f9299a139681845c20c46a28c0cb035801f9 /cpp/src | |
parent | Bug 4218 - Fix fixVersion (diff) | |
download | ice-24f1950dc73f520fa5bb594d77801beede4df423.tar.bz2 ice-24f1950dc73f520fa5bb594d77801beede4df423.tar.xz ice-24f1950dc73f520fa5bb594d77801beede4df423.zip |
Removed unused __checkTwoway(const char*) from Proxy
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/Proxy.cpp | 24 |
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 { |