From 6e1d62955c7a7f39bc9126d709a42a70e02a1d30 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 30 Oct 2024 19:59:38 +0100 Subject: create backend string class --- backend/ListIterator.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend/ListIterator.hpp') diff --git a/backend/ListIterator.hpp b/backend/ListIterator.hpp index 5e4ea91..b6b7a36 100644 --- a/backend/ListIterator.hpp +++ b/backend/ListIterator.hpp @@ -3,7 +3,7 @@ #include "ListIterator.h" template -ListRange::ListRange(List & list) : list(list) { } +ListRange::ListRange(const List & list) : list(list) { } template ListIterator ListRange::begin() const { @@ -21,7 +21,7 @@ size_t ListRange::size() const { } template -ListIterator::ListIterator(List & list, size_t index) : list(list), index(index) { } +ListIterator::ListIterator(const List & list, size_t index) : list(list), index(index) { } template T ListIterator::operator * () const { -- cgit v1.2.3