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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/Ice/Proxy.cpp b/cpp/src/Ice/Proxy.cpp
index 1436182a68a..9bd01f94924 100644
--- a/cpp/src/Ice/Proxy.cpp
+++ b/cpp/src/Ice/Proxy.cpp
@@ -372,7 +372,7 @@ IceProxy::Ice::Object::__copyFrom(const ObjectPrx& from)
void
IceProxy::Ice::Object::__handleException(const LocalException& ex, int& cnt)
{
- JTCSyncT<JTCMutex> sync(*this);
+ IceUtil::Mutex::Lock sync(*this);
_delegate = 0;
@@ -437,7 +437,7 @@ IceProxy::Ice::Object::__handleException(const LocalException& ex, int& cnt)
void
IceProxy::Ice::Object::__locationForward(const LocationForward& ex)
{
- JTCSyncT<JTCMutex> sync(*this);
+ IceUtil::Mutex::Lock sync(*this);
_delegate = 0;
@@ -464,7 +464,7 @@ IceProxy::Ice::Object::__locationForward(const LocationForward& ex)
void
IceProxy::Ice::Object::__rethrowException(const LocalException& ex)
{
- JTCSyncT<JTCMutex> sync(*this);
+ IceUtil::Mutex::Lock sync(*this);
_delegate = 0;
@@ -474,7 +474,7 @@ IceProxy::Ice::Object::__rethrowException(const LocalException& ex)
Handle< ::IceDelegate::Ice::Object>
IceProxy::Ice::Object::__getDelegate()
{
- JTCSyncT<JTCMutex> sync(*this);
+ IceUtil::Mutex::Lock sync(*this);
if (!_delegate)
{
ObjectAdapterPtr adapter = _reference->instance->objectAdapterFactory()->findObjectAdapter(this);