]> icculus.org git repositories - mikachu/openbox.git/blob - otk/assassin.hh
exec a requested new process via /bin/sh to allow for command line args, the same...
[mikachu/openbox.git] / otk / assassin.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __assassin_hh
3 #define __assassin_hh
4
5 namespace otk {
6
7 struct PointerAssassin {
8   template<typename T>
9   inline void operator()(const T ptr) const {
10     delete ptr;
11   }
12 };
13
14 }
15
16 #endif // __assassin_hh