| # | Line 57 | Line 57 | namespace OpenMD { | |
|---|---|---|
| 57 | ||
| 58 | template<typename ContainterType> | |
| 59 | static void deletePointers(ContainterType& container) { | |
| 60 | < | for (typename ContainterType::iterator i = container.begin(); i != container.end(); i++) { |
| 60 | > | for (typename ContainterType::iterator i = container.begin(); |
| 61 | > | i != container.end(); ++i) { |
| 62 | delete *i; | |
| 63 | } | |
| 64 | < | |
| 64 | > | |
| 65 | container.clear(); | |
| 66 | } | |
| 67 | }; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |