thin-provisioning-tools/deleter.h
2011-11-08 10:30:13 +00:00

18 lines
289 B
C++

#ifndef DELETER_H
#define DELETER_H
//----------------------------------------------------------------
namespace utils {
template <typename T>
struct deleter {
void operator()(T *t) {
delete t;
}
};
}
//----------------------------------------------------------------
#endif