diff options
Diffstat (limited to 'backend/PtrList.hpp')
-rw-r--r-- | backend/PtrList.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/PtrList.hpp b/backend/PtrList.hpp index 96f2643..cbfd6e0 100644 --- a/backend/PtrList.hpp +++ b/backend/PtrList.hpp @@ -4,7 +4,7 @@ template <typename T> PtrList<T>::~PtrList() { - for (T * obj : *this) + for (T * & obj : *this) delete obj; } |