Skip to content
Snippets Groups Projects
Commit e6380b11 authored by Daniel Pfeifer's avatar Daniel Pfeifer Committed by Brad King
Browse files

Use std::auto_ptr on compilers that do not warn about it

parent 67480c05
Branches
Tags
No related merge requests found
......@@ -14,7 +14,13 @@
#include <cmConfigure.h>
// FIXME: Use std::auto_ptr on compilers that do not warn about it.
#ifdef CMake_HAVE_CXX_AUTO_PTR
#include <memory>
#define CM_AUTO_PTR std::auto_ptr
#else
#define CM_AUTO_PTR cm::auto_ptr
// The HP compiler cannot handle the conversions necessary to use
......@@ -219,3 +225,5 @@ public:
#endif
#endif
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment