This commit is contained in:
Robin Müller 2020-06-17 20:45:44 +02:00
parent ed26992d7f
commit 583efec3f8

View File

@ -15,11 +15,8 @@ public:
T *value; T *value;
class Iterator { class Iterator {
public: public:
LinkedElement<T> *value; LinkedElement<T> *value = nullptr;
Iterator() : Iterator() {}
value(NULL) {
}
Iterator(LinkedElement<T> *element) : Iterator(LinkedElement<T> *element) :
value(element) { value(element) {