destory now checks for null

v1
Brett 2024-01-25 10:00:56 -05:00
parent 0fbe3bf228
commit b828f3b200
1 changed files with 2 additions and 1 deletions

View File

@ -231,6 +231,7 @@ namespace blt
template<class U>
inline void destroy(U* p)
{
if (p)
p->~U();
}