Website Summary Files Commits Branches @commit @diff @stats
path: root / src / List / List.h
diff options
context:
space:
mode:
Commit5351831bb35cd216ae3cd8145c6172ae8341e905 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-01 10:06:09 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-01 10:06:09 +0300
Files3ab1925c80c3f779853d5edfe02b0f4e4646ab63 /src/List/List.h
FMI-OOP-P1_TicketSystem-5351831bb35cd216ae3cd8145c6172ae8341e905.tar
FMI-OOP-P1_TicketSystem-5351831bb35cd216ae3cd8145c6172ae8341e905.tar.gz
FMI-OOP-P1_TicketSystem-5351831bb35cd216ae3cd8145c6172ae8341e905.zip
Parent792c89ad43ea43ba1b1bf553e30ad1e281c5687d (diff)
Autocommit at 01.05.2022 @ 10:06
1 files changed, 1 insertions, 0 deletions
-rw-r--r--src/List/List.h1
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;