AK: Fix unused parameter bug in SinglyLinkedList (#928)

This commit is contained in:
Valtteri Koskivuori 2019-12-27 11:29:28 +02:00 committed by Andreas Kling
parent d1c16944ce
commit 5d1acdda82
Notes: sideshowbarker 2024-07-19 10:37:06 +09:00

View file

@ -189,7 +189,7 @@ public:
void insert_before(Iterator iterator, const T& value)
{
insert_before(T(value));
insert_before(iterator, T(value));
}
void insert_before(Iterator iterator, T&& value)
@ -204,7 +204,7 @@ public:
void insert_after(Iterator iterator, const T& value)
{
insert_after(T(value));
insert_after(iterator, T(value));
}
void insert_after(Iterator iterator, T&& value)