diff options
author | Brad King <brad.king@kitware.com> | 2006-03-16 22:26:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-03-16 22:26:28 (GMT) |
commit | 437e28e63a7d166622af174ffe27a216032052fe (patch) | |
tree | 687c12c96443e6d389b1cf2cac8d61d747948d29 /Source | |
parent | f430ad0ea25cd55bbc6be1d1627da03df260630d (diff) | |
download | CMake-437e28e63a7d166622af174ffe27a216032052fe.zip CMake-437e28e63a7d166622af174ffe27a216032052fe.tar.gz CMake-437e28e63a7d166622af174ffe27a216032052fe.tar.bz2 |
COMP: Skip trying to use native auto_ptr implementation and just provide a conforming one.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/auto_ptr.hxx.in | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Source/kwsys/auto_ptr.hxx.in b/Source/kwsys/auto_ptr.hxx.in index 90e8c86..648dd75 100644 --- a/Source/kwsys/auto_ptr.hxx.in +++ b/Source/kwsys/auto_ptr.hxx.in @@ -14,24 +14,6 @@ #ifndef @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@ { @@ -74,5 +56,3 @@ public: } // namespace @KWSYS_NAMESPACE@ #endif - -#endif |