1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:57:45 +00:00

AK: Set IntrusiveRBTree Node key on insertion instead of construction

This makes the API look much nicer.
This commit is contained in:
Idan Horowitz 2021-09-08 03:07:34 +03:00
parent 1db9250766
commit cb9720baab
3 changed files with 33 additions and 37 deletions

View file

@ -38,6 +38,9 @@ public:
: key(key)
{
}
Node()
{
}
virtual ~Node() {};
};