]> Dogcows Code - chaz/openbox/blobdiff - src/Util.h
*** empty log message ***
[chaz/openbox] / src / Util.h
index 03b352e1040ca53d4236ed1cc516fb211643071a..ad45c4034b78c4a11c12e276842b6fe36d6fcaf7 100644 (file)
 # define ASSERT(x)
 #endif //  DEBUG
 
+struct PointerAssassin {
+  template<typename T>
+  inline void operator()(const T ptr) const {
+    delete ptr;
+  }
+};
+
 #endif // __Util_hh
This page took 0.019555 seconds and 4 git commands to generate.