From 8c1753a1a200cbe0c23c2178a35e1b8b8c57bf64 Mon Sep 17 00:00:00 2001 From: Stoycho Kyosev Date: Tue, 22 Nov 2022 23:57:23 +0200 Subject: Add additional --- Seminar05/LinkedList.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Seminar05') diff --git a/Seminar05/LinkedList.hpp b/Seminar05/LinkedList.hpp index 58f8794..610d999 100644 --- a/Seminar05/LinkedList.hpp +++ b/Seminar05/LinkedList.hpp @@ -105,11 +105,11 @@ public: } ConstIterator begin() const { - return Iterator(head); + return ConstIterator(head); } ConstIterator end() const { - return Iterator(nullptr); + return ConstIterator(nullptr); } ConstIterator cbegin() const { -- cgit v1.3.1-26-gb76a