mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Changed typename to class; some libraries helpfully #define typename
[SVN r15970]
This commit is contained in:
parent
7439073cbf
commit
ef9af03c6c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user