WIP: somethings wrong.. #19

Closed
muellerr wants to merge 808 commits from source/master into master
Showing only changes of commit 8d633bf127 - Show all commits

View File

@ -88,14 +88,15 @@ public:
ElementIterator begin() const { ElementIterator begin() const {
return ElementIterator::Iterator(start); return ElementIterator::Iterator(start);
} }
typename ElementIterator::Iterator end() const {
ElementIterator end() const {
return ElementIterator::Iterator(); return ElementIterator::Iterator();
} }
uint32_t getSize() const { size_t getSize() const {
uint32_t size = 0; size_t size = 0;
LinkedElement<T> *element = start; LinkedElement<T> *element = start;
while (element != NULL) { while (element != nullptr) {
size++; size++;
element = element->getNext(); element = element->getNext();
} }