diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-09-02 15:32:50 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-09-02 15:32:50 +0000 |
commit | 6b73373de0f3bf106404f5c976791db96641d361 (patch) | |
tree | 524233811433d561215a1d04ae813f3c7b60aa1e /cppe/src/IceE/OutgoingConnectionFactory.cpp | |
parent | Use auto_ptr.reset (diff) | |
download | ice-6b73373de0f3bf106404f5c976791db96641d361.tar.bz2 ice-6b73373de0f3bf106404f5c976791db96641d361.tar.xz ice-6b73373de0f3bf106404f5c976791db96641d361.zip |
Use auto_ptr reset
Diffstat (limited to 'cppe/src/IceE/OutgoingConnectionFactory.cpp')
-rwxr-xr-x | cppe/src/IceE/OutgoingConnectionFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppe/src/IceE/OutgoingConnectionFactory.cpp b/cppe/src/IceE/OutgoingConnectionFactory.cpp index a00d79ec530..9d3fcf18e6c 100755 --- a/cppe/src/IceE/OutgoingConnectionFactory.cpp +++ b/cppe/src/IceE/OutgoingConnectionFactory.cpp @@ -262,7 +262,7 @@ IceInternal::OutgoingConnectionFactory::create(const vector<EndpointPtr>& endpts } catch(const LocalException& ex) { - exception = auto_ptr<LocalException>(dynamic_cast<LocalException*>(ex.ice_clone())); + exception.reset(dynamic_cast<LocalException*>(ex.ice_clone())); // // If a connection object was constructed, then validate() |