diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-03 10:38:14 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-03 10:38:14 +0000 |
| commit | 37e56007680a6664967e0e71ac52981654def6a6 (patch) | |
| tree | f33f89d6cef571f04d4a210db41265ed1076fcb2 /otk/assassin.hh | |
| parent | fa8cefef63feb1d559c40db3cf9407e5bd1ac4df (diff) | |
move Rect and PointerAssassin into the toolkit
Diffstat (limited to 'otk/assassin.hh')
| -rw-r--r-- | otk/assassin.hh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/otk/assassin.hh b/otk/assassin.hh new file mode 100644 index 00000000..89e98153 --- /dev/null +++ b/otk/assassin.hh @@ -0,0 +1,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 |
