aboutsummaryrefslogtreecommitdiff
path: root/backend/PtrList.hpp
blob: 69695336b7fa65a1db2232ca973cee269642bff3 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include "PtrList.h"
#include "ListIterator.h"

template <typename T>
PtrList<T>::~PtrList() {
	for (T * & obj : *this)
		delete obj;
}