diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-05-12 09:15:09 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-05-12 09:15:09 +0000 |
| commit | 57fb41c8060eaa2f29b25b08e3813b3dc140f165 (patch) | |
| tree | a5211e160932ef6e1f4eb5123d2876f3d429c935 /src/Util.h | |
| parent | addc23faf57c6902a4d9ed2c83a21ada71de6aad (diff) | |
converted the remaining LinkedLists in Screen to STL objects.
Diffstat (limited to 'src/Util.h')
| -rw-r--r-- | src/Util.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -29,4 +29,11 @@ # define ASSERT(x) #endif // DEBUG +struct PointerAssassin { + template<typename T> + inline void operator()(const T ptr) const { + delete ptr; + } +}; + #endif // __Util_hh |
