summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/interceptor/AMDInterceptorI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/interceptor/AMDInterceptorI.cpp')
-rw-r--r--cpp/test/Ice/interceptor/AMDInterceptorI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/interceptor/AMDInterceptorI.cpp b/cpp/test/Ice/interceptor/AMDInterceptorI.cpp
index 9ae2a3a83d3..e14f32793a9 100644
--- a/cpp/test/Ice/interceptor/AMDInterceptorI.cpp
+++ b/cpp/test/Ice/interceptor/AMDInterceptorI.cpp
@@ -84,7 +84,7 @@ void
AMDInterceptorI::setActualStatus(const IceUtil::Exception& e)
{
IceUtil::Mutex::Lock lock(_mutex);
- ICE_RESET_EXCEPTION(_exception, e.ice_clone());
+ ICE_SET_EXCEPTION_FROM_CLONE(_exception, e.ice_clone());
_actualStatus = Ice::DispatchAsync;
}
@@ -108,7 +108,7 @@ AMDInterceptorI::clear()
InterceptorI::clear();
IceUtil::Mutex::Lock lock(_mutex);
_actualStatus = Ice::DispatchAsync;
- ICE_RESET_EXCEPTION(_exception, ICE_NULLPTR);
+ _exception.reset();
}