Skip to content

Commit

Permalink
Fixed SAFE_DELETE_ARRAY.
Browse files Browse the repository at this point in the history
  • Loading branch information
pilkch committed Aug 10, 2016
1 parent f6c7a15 commit 4ad3c62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/spitfire/spitfire.h
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ namespace spitfire
x = nullptr;
}

template <class T, size_t N>
inline void SAFE_DELETE_ARRAY(T (&x)[N])
template <class T>
inline void SAFE_DELETE_ARRAY(T& x)
{
delete [] x;
x = nullptr;
Expand Down

0 comments on commit 4ad3c62

Please sign in to comment.