Website Summary Files Commits Branches @commit @diff @stats
path: root / src / List / List.h
diff options
context:
space:
mode:
Commitf0516d3303615f72dd525fad7ffcb182824f42e7 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-02 20:50:19 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-02 20:50:19 +0300
Files98b96b009581dbf52f4dd214a897204fdf2b6ac2 /src/List/List.h
FMI-OOP-P1_TicketSystem-f0516d3303615f72dd525fad7ffcb182824f42e7.tar
FMI-OOP-P1_TicketSystem-f0516d3303615f72dd525fad7ffcb182824f42e7.tar.gz
FMI-OOP-P1_TicketSystem-f0516d3303615f72dd525fad7ffcb182824f42e7.zip
Parent7e3b6dd4b963a3abc29452fe2eb2647a517371c0 (diff)
Autocommit at 02.05.2022 @ 20:50
1 files changed, 1 insertions, 1 deletions
-rw-r--r--src/List/List.h2
diff --git a/src/List/List.h b/src/List/List.h
index d2e4280..1068bb7 100644
--- a/src/List/List.h
+++ b/src/List/List.h
@@ -17,7 +17,7 @@ class List {
public:
List(const T* elements, unsigned elementsCount);
void add(const T& element);
- bool insertAt(const T& element);
+ bool insertAt(const T& element, unsigned index);
bool removeAt(unsigned index);
T& operator[](unsigned index);
const T& operator[](unsigned index) const;