--- trunk/OOPSE-4/src/utils/MemoryUtils.hpp 2005/01/12 22:41:40 1930 +++ trunk/OOPSE-4/src/utils/MemoryUtils.hpp 2005/03/07 22:39:33 2082 @@ -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; }