thin-provisioning-tools/deleter.h

18 lines
289 B
C
Raw Normal View History

2011-11-08 16:00:13 +05:30
#ifndef DELETER_H
#define DELETER_H
//----------------------------------------------------------------
namespace utils {
template <typename T>
struct deleter {
void operator()(T *t) {
delete t;
}
};
}
//----------------------------------------------------------------
#endif