diff options
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(); } |