diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-09-02 15:32:36 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-09-02 15:32:36 +0000 |
commit | a3b69a80211da745b8b5779345522ae84d4e4052 (patch) | |
tree | f2fea8aca8ef52be25eddb794676f4c764db17d4 /cpp/src/IcePatch2/ClientUtil.cpp | |
parent | Renamed Callback interface. (diff) | |
download | ice-a3b69a80211da745b8b5779345522ae84d4e4052.tar.bz2 ice-a3b69a80211da745b8b5779345522ae84d4e4052.tar.xz ice-a3b69a80211da745b8b5779345522ae84d4e4052.zip |
Use auto_ptr.reset
Diffstat (limited to 'cpp/src/IcePatch2/ClientUtil.cpp')
-rwxr-xr-x | cpp/src/IcePatch2/ClientUtil.cpp | 4 |
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(); } |