From 57fb41c8060eaa2f29b25b08e3813b3dc140f165 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 12 May 2002 09:15:09 +0000 Subject: converted the remaining LinkedLists in Screen to STL objects. --- src/Util.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/Util.h') diff --git a/src/Util.h b/src/Util.h index 03b352e1..ad45c403 100644 --- a/src/Util.h +++ b/src/Util.h @@ -29,4 +29,11 @@ # define ASSERT(x) #endif // DEBUG +struct PointerAssassin { + template + inline void operator()(const T ptr) const { + delete ptr; + } +}; + #endif // __Util_hh -- cgit v1.2.3