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.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/Ice/Proxy.cpp b/cpp/src/Ice/Proxy.cpp
index 1f6eb92aec0..19341ccd5b4 100644
--- a/cpp/src/Ice/Proxy.cpp
+++ b/cpp/src/Ice/Proxy.cpp
@@ -770,7 +770,10 @@ IceProxy::Ice::Object::__rethrowException(const LocalException& ex)
void
IceProxy::Ice::Object::__checkTwowayOnly(const char* name) const
{
- IceUtil::Mutex::Lock sync(*this);
+ //
+ // No mutex lock necessary, there is nothing mutable in this
+ // operation.
+ //
if(!ice_isTwoway())
{