diff options
Autocommit at 02.05.2022 @ 20:50
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | src/List/List.h | 2 |
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; |
