summaryrefslogtreecommitdiff
path: root/otk/assassin.hh
blob: 89e98153c20f92b45054edc28c5331b237945f53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __assassin_hh
#define __assassin_hh

namespace otk {

struct PointerAssassin {
  template<typename T>
  inline void operator()(const T ptr) const {
    delete ptr;
  }
};

}

#endif // __assassin_hh