summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testAutoPtr.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-03-07 14:26:49 (GMT)
committerBrad King <brad.king@kitware.com>2007-03-07 14:26:49 (GMT)
commit4148fedbf099b3af9fd6d2d4ad8c5de91cd0a956 (patch)
treea055de60043918fb6ad8cbc5944d8ccf092654bc /Source/kwsys/testAutoPtr.cxx
parentc0ee3693798bdaf30dcfb66e67e2c08b0fbc3c53 (diff)
downloadCMake-4148fedbf099b3af9fd6d2d4ad8c5de91cd0a956.zip
CMake-4148fedbf099b3af9fd6d2d4ad8c5de91cd0a956.tar.gz
CMake-4148fedbf099b3af9fd6d2d4ad8c5de91cd0a956.tar.bz2
ENH: Enabled support for use_auto_ptr(get_auto_ptr()) syntax on HP compiler.
Diffstat (limited to 'Source/kwsys/testAutoPtr.cxx')
-rw-r--r--Source/kwsys/testAutoPtr.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/kwsys/testAutoPtr.cxx b/Source/kwsys/testAutoPtr.cxx
index c0bcd34..aa44cb6 100644
--- a/Source/kwsys/testAutoPtr.cxx
+++ b/Source/kwsys/testAutoPtr.cxx
@@ -115,14 +115,12 @@ int testAutoPtr(int, char*[])
"auto_ptr did not release ownership to called function");
}
-#if !defined(__HP_aCC)
{
int received = function_call(generate_auto_ptr_A());
ASSERT(received,
"auto_ptr in called function did not take ownership "
"from factory function");
}
-#endif
#if 0
// Is this allowed by the standard?