From cb9720baabf9bed1f501556cf6fbce88cd657514 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Wed, 8 Sep 2021 03:07:34 +0300 Subject: AK: Set IntrusiveRBTree Node key on insertion instead of construction This makes the API look much nicer. --- AK/RedBlackTree.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'AK/RedBlackTree.h') diff --git a/AK/RedBlackTree.h b/AK/RedBlackTree.h index df23ed4607..adce1cc5f7 100644 --- a/AK/RedBlackTree.h +++ b/AK/RedBlackTree.h @@ -38,6 +38,9 @@ public: : key(key) { } + Node() + { + } virtual ~Node() {}; }; -- cgit v1.2.3