--- trunk/src/utils/MemoryUtils.hpp 2005/03/04 15:29:03 397 +++ trunk/src/utils/MemoryUtils.hpp 2005/03/07 22:39:33 398 @@ -48,15 +48,15 @@ #ifndef UTILS_MEMORYUTILS_HPP #define UTILS_MEMORYUTILS_HPP -#include + namespace oopse { class MemoryUtils{ public: - template - static void deleteVectorOfPointer(std::vector& container){ - for (typename std::vector::iterator i = container.begin(); i != container.end(); i++) { + template + static void deletePointers(ContainterType& container) { + for (typename ContainterType::iterator i = container.begin(); i != container.end(); i++) { delete *i; }