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

#include "PtrList.h"

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