Changed typename to class; some libraries helpfully #define typename

[SVN r15970]
This commit is contained in:
Peter Dimov 2002-10-23 13:55:18 +00:00
parent 7439073cbf
commit ef9af03c6c

View File

@ -21,13 +21,13 @@ namespace boost
// verify that types are complete for increased safety
template< typename T > inline void checked_delete(T * x)
template<class T> inline void checked_delete(T * x)
{
typedef char type_must_be_complete[sizeof(T)];
delete x;
}
template< typename T > inline void checked_array_delete(T * x)
template<class T> inline void checked_array_delete(T * x)
{
typedef char type_must_be_complete[sizeof(T)];
delete [] x;