--- trunk/src/utils/MemoryUtils.hpp 2005/04/15 22:03:16 506 +++ trunk/src/utils/MemoryUtils.hpp 2005/04/15 22:04:00 507 @@ -1,4 +1,4 @@ - /* +/* * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved. * * The University of Notre Dame grants you ("Licensee") a @@ -51,17 +51,17 @@ namespace oopse { namespace oopse { - class MemoryUtils{ - public: + class MemoryUtils{ + public: - template - static void deletePointers(ContainterType& container) { - for (typename ContainterType::iterator i = container.begin(); i != container.end(); i++) { - delete *i; - } + template + static void deletePointers(ContainterType& container) { + for (typename ContainterType::iterator i = container.begin(); i != container.end(); i++) { + delete *i; + } - container.clear(); - } - }; + container.clear(); + } + }; } #endif //UTILS_MEMORYUTILS_HPP