Commit 8c2cc615 authored by Brad King's avatar Brad King
Browse files

COMP: Skip trying to use native auto_ptr implementation and just provide a conforming one.

parent ad44e66c
...@@ -14,24 +14,6 @@ ...@@ -14,24 +14,6 @@
#ifndef @KWSYS_NAMESPACE@_auto_ptr_hxx #ifndef @KWSYS_NAMESPACE@_auto_ptr_hxx
#define @KWSYS_NAMESPACE@_auto_ptr_hxx #define @KWSYS_NAMESPACE@_auto_ptr_hxx
#if !((defined(_MSC_VER) && _MSC_VER < 1300) || defined(__BORLANDC__))
// Use the conforming implementation provided by the compiler.
#include <@KWSYS_NAMESPACE@/stl/memory>
namespace @KWSYS_NAMESPACE@
{
using @KWSYS_NAMESPACE@_stl::auto_ptr;
}
#else
// This compiler does not have a conforming implementation. Use our
// own.
namespace @KWSYS_NAMESPACE@ namespace @KWSYS_NAMESPACE@
{ {
...@@ -74,5 +56,3 @@ public: ...@@ -74,5 +56,3 @@ public:
} // namespace @KWSYS_NAMESPACE@ } // namespace @KWSYS_NAMESPACE@
#endif #endif
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment