mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-03 06:39:07 +00:00
AK: Set IntrusiveRBTree Node key on insertion instead of construction
This makes the API look much nicer.
This commit is contained in:
parent
1db9250766
commit
cb9720baab
Notes:
sideshowbarker
2024-07-18 04:25:59 +09:00
Author: https://github.com/IdanHo
Commit: cb9720baab
Pull-request: https://github.com/SerenityOS/serenity/pull/9884
Reviewed-by: https://github.com/alimpfard ✅
3 changed files with 33 additions and 37 deletions
|
@ -38,6 +38,9 @@ public:
|
|||
: key(key)
|
||||
{
|
||||
}
|
||||
Node()
|
||||
{
|
||||
}
|
||||
virtual ~Node() {};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue