summaryrefslogtreecommitdiff
path: root/goo
diff options
context:
space:
mode:
authorOliver Sander <oliver.sander@tu-dresden.de>2018-12-01 13:36:40 +0100
committerAlbert Astals Cid <tsdgeos@yahoo.es>2019-03-21 22:28:12 +0000
commit760ca656bd30bba162392011ebca5c67df25ae47 (patch)
tree6bfc28b8a2cebda71ba8be33ba774a7ea79654e5 /goo
parent3bf47e100717f4295652d578ecd12e489937b329 (diff)
Remove method deleteGooList
Diffstat (limited to 'goo')
-rw-r--r--goo/GooList.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/goo/GooList.h b/goo/GooList.h
index 172d0d71..3e64811e 100644
--- a/goo/GooList.h
+++ b/goo/GooList.h
@@ -54,12 +54,4 @@ public:
const T& get(int i) const { return (*this)[i]; }
};
-template<typename T>
-inline void deleteGooList(GooList<T>* list) {
- for (auto ptr : *list) {
- delete ptr;
- }
- delete list;
-}
-
#endif // GOO_LIST_H