COMP: Skip trying to use native auto_ptr implementation and just provide a conforming one.
This commit is contained in:
parent
f430ad0ea2
commit
437e28e63a
@ -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:
|
|||||||
} // namespace @KWSYS_NAMESPACE@
|
} // namespace @KWSYS_NAMESPACE@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user