diff options
Diffstat (limited to 'TAO/tao/AnyTypeCode/Any_SystemException.cpp')
-rw-r--r-- | TAO/tao/AnyTypeCode/Any_SystemException.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/tao/AnyTypeCode/Any_SystemException.cpp b/TAO/tao/AnyTypeCode/Any_SystemException.cpp index 1e553d02c08..2e06f71b942 100644 --- a/TAO/tao/AnyTypeCode/Any_SystemException.cpp +++ b/TAO/tao/AnyTypeCode/Any_SystemException.cpp @@ -116,7 +116,11 @@ TAO::Any_SystemException::extract (const CORBA::Any & any, empty_value), false); +#if defined (ACE_HAS_CPP11) + std::unique_ptr<TAO::Any_SystemException > replacement_safety (replacement); +#else auto_ptr<TAO::Any_SystemException > replacement_safety (replacement); +#endif /* ACE_HAS_CPP11 */ // We know this will work since the unencoded case is covered above. TAO::Unknown_IDL_Type * const unk = |