From 1bb1898ab96f96e30f88ae536bb5a6f50fd82296 Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Thu, 24 May 2001 19:11:51 +0000 Subject: [PATCH] Dave says qualifiers weren't really needed [SVN r10222] --- include/boost/utility.hpp | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/include/boost/utility.hpp b/include/boost/utility.hpp index 6b51846..5942fb9 100644 --- a/include/boost/utility.hpp +++ b/include/boost/utility.hpp @@ -37,12 +37,7 @@ namespace boost // verify that types are complete for increased safety template< typename T > -# if (!defined(BOOST_MSVC) || BOOST_MSVC > 1200) && \ - (!defined(__SUNPRO_CC) || __SUNPRO_CC > 0x520) - inline void checked_delete(T const volatile * x) -# else - inline void checked_delete(T /*const volatile*/ * x) -# endif + inline void checked_delete(T * x) { # if !((defined(__BORLANDC__) && __BORLANDC__ <= 0x0551) || (defined(__ICL) && __ICL <= 500)) BOOST_STATIC_ASSERT( sizeof(T) ); // assert type complete at point @@ -54,12 +49,7 @@ namespace boost } template< typename T > -# if (!defined(BOOST_MSVC) || BOOST_MSVC > 1200) && \ - (!defined(__SUNPRO_CC) || __SUNPRO_CC > 0x520) - inline void checked_array_delete(T const volatile * x) -# else - inline void checked_array_delete(T /*const volatile*/ * x) -# endif + inline void checked_array_delete(T * x) { # if !((defined(__BORLANDC__) && __BORLANDC__ <= 0x0551) || (defined(__ICL) && __ICL <= 500)) BOOST_STATIC_ASSERT( sizeof(T) ); // assert type complete at point