mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
AK: Fix unused parameter bug in SinglyLinkedList (#928)
This commit is contained in:
parent
d1c16944ce
commit
5d1acdda82
Notes:
sideshowbarker
2024-07-19 10:37:06 +09:00
Author: https://github.com/vkoskiv Commit: https://github.com/SerenityOS/serenity/commit/5d1acdda829 Pull-request: https://github.com/SerenityOS/serenity/pull/928
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue