summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/ClientUtil.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-09-02 15:32:36 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-09-02 15:32:36 +0000
commita3b69a80211da745b8b5779345522ae84d4e4052 (patch)
treef2fea8aca8ef52be25eddb794676f4c764db17d4 /cpp/src/IcePatch2/ClientUtil.cpp
parentRenamed Callback interface. (diff)
downloadice-a3b69a80211da745b8b5779345522ae84d4e4052.tar.bz2
ice-a3b69a80211da745b8b5779345522ae84d4e4052.tar.xz
ice-a3b69a80211da745b8b5779345522ae84d4e4052.zip
Use auto_ptr.reset
Diffstat (limited to 'cpp/src/IcePatch2/ClientUtil.cpp')
-rwxr-xr-xcpp/src/IcePatch2/ClientUtil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePatch2/ClientUtil.cpp b/cpp/src/IcePatch2/ClientUtil.cpp
index a01f70a16e6..e65f1505b9c 100755
--- a/cpp/src/IcePatch2/ClientUtil.cpp
+++ b/cpp/src/IcePatch2/ClientUtil.cpp
@@ -267,7 +267,7 @@ public:
ice_exception(const Exception& ex)
{
IceUtil::Monitor<IceUtil::Mutex>::Lock sync(*this);
- _exception = auto_ptr<Exception>(ex.ice_clone());
+ _exception.reset(ex.ice_clone());
_done = true;
notify();
}
@@ -744,7 +744,7 @@ public:
ice_exception(const Exception& ex)
{
IceUtil::Monitor<IceUtil::Mutex>::Lock sync(*this);
- _exception = auto_ptr<Exception>(ex.ice_clone());
+ _exception.reset(ex.ice_clone());
_done = true;
notify();
}