winamp/Src/Plugins/DSP/sc_serv3/nmrCommon/stl/functors.h
2024-09-24 14:54:57 +02:00

25 lines
216 B
C++

#pragma once
#ifndef functors_H_
#define functors_H_
namespace stlx
{
template<typename T>
void delete_fntr(T *t)
{
if (t)
{
try
{
delete t;
t = 0;
}
catch(...)
{
}
}
}
}
#endif