summaryrefslogtreecommitdiff
path: root/ACE/ace/Auto_Ptr.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-08-04 12:54:24 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-08-04 12:54:24 +0200
commit5e540e01a75d27e11f64c59d0bd626503b015635 (patch)
tree996734dae0c2b6d07cf7825e688fa88e41dd4c4f /ACE/ace/Auto_Ptr.h
parentb092fb0e9a13a345d480f8734ba1eac3b68026a6 (diff)
downloadATCD-5e540e01a75d27e11f64c59d0bd626503b015635.tar.gz
Removed define of ACE_LACKS_AUTO_PTR for C++17 in general, gcc doesn't remove auto_ptr with C++17 so we have to do this specifically for a compiler who does remove std::auto_ptr with C++17
* ACE/ace/Auto_Ptr.h:
Diffstat (limited to 'ACE/ace/Auto_Ptr.h')
-rw-r--r--ACE/ace/Auto_Ptr.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/ACE/ace/Auto_Ptr.h b/ACE/ace/Auto_Ptr.h
index 47ad7c39702..9f8af214a31 100644
--- a/ACE/ace/Auto_Ptr.h
+++ b/ACE/ace/Auto_Ptr.h
@@ -68,14 +68,6 @@ protected:
ACE_END_VERSIONED_NAMESPACE_DECL
-#if defined (ACE_HAS_CPP17)
-// C++17 has removed std::auto_ptr but this is heavily used
-// in ACE and TAO tests so for the moment we are providing
-// our own auto_ptr implementation
-# define ACE_LACKS_AUTO_PTR
-# include <memory>
-#endif /* ACE_HAS_CPP17 */
-
#if !defined (ACE_LACKS_AUTO_PTR) && \
defined (ACE_HAS_STANDARD_CPP_LIBRARY) && \
(ACE_HAS_STANDARD_CPP_LIBRARY != 0)