summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Connection.cpp')
-rw-r--r--cpp/src/Ice/Connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/Connection.cpp b/cpp/src/Ice/Connection.cpp
index 10a7cb63d22..a51985f77ad 100644
--- a/cpp/src/Ice/Connection.cpp
+++ b/cpp/src/Ice/Connection.cpp
@@ -78,7 +78,7 @@ IceInternal::Connection::destroy(DestructionReason reason)
bool
IceInternal::Connection::destroyed() const
{
- IceUtil::RecMutex::ConstLock sync(*this);
+ IceUtil::RecMutex::Lock sync(*this);
return _state >= StateClosing;
}