]> Dogcows Code - chaz/openbox/blob - otk/assassin.hh
un-static otk::Display. add an operator* to it. make a global ob::display var.
[chaz/openbox] / 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
This page took 0.038928 seconds and 4 git commands to generate.