From 5351831bb35cd216ae3cd8145c6172ae8341e905 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 1 May 2022 10:06:09 +0300 Subject: Autocommit at 01.05.2022 @ 10:06 --- src/List/List.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/List/List.h') diff --git a/src/List/List.h b/src/List/List.h index f5d56f3..2b5fc00 100644 --- a/src/List/List.h +++ b/src/List/List.h @@ -15,6 +15,7 @@ public: void add(const T& element); bool removeAt(unsigned index); T& operator[](unsigned index); + const T& operator[](unsigned index) const; unsigned get_length() const; unsigned get_count() const; -- cgit v1.3.1-26-gb76a