summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/OutgoingConnectionFactory.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-09-02 15:32:50 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-09-02 15:32:50 +0000
commit6b73373de0f3bf106404f5c976791db96641d361 (patch)
tree524233811433d561215a1d04ae813f3c7b60aa1e /cppe/src/IceE/OutgoingConnectionFactory.cpp
parentUse auto_ptr.reset (diff)
downloadice-6b73373de0f3bf106404f5c976791db96641d361.tar.bz2
ice-6b73373de0f3bf106404f5c976791db96641d361.tar.xz
ice-6b73373de0f3bf106404f5c976791db96641d361.zip
Use auto_ptr reset
Diffstat (limited to 'cppe/src/IceE/OutgoingConnectionFactory.cpp')
-rwxr-xr-xcppe/src/IceE/OutgoingConnectionFactory.cpp2
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()