diff options
Diffstat (limited to 'cpp/src/Ice/ConnectionFactory.cpp')
-rw-r--r-- | cpp/src/Ice/ConnectionFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/ConnectionFactory.cpp b/cpp/src/Ice/ConnectionFactory.cpp index bc2f19e4ae9..ef2c5b96712 100644 --- a/cpp/src/Ice/ConnectionFactory.cpp +++ b/cpp/src/Ice/ConnectionFactory.cpp @@ -299,7 +299,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() |