diff --git a/headers/private/kernel/util/SplayTree.h b/headers/private/kernel/util/SplayTree.h index 4b40f02fd5..f9a2b50cfd 100644 --- a/headers/private/kernel/util/SplayTree.h +++ b/headers/private/kernel/util/SplayTree.h @@ -443,14 +443,14 @@ public: *this = other; } - ConstIterator(Tree* tree) + ConstIterator(const Tree* tree) : fTree(tree) { Rewind(); } - ConstIterator(Tree* tree, Node* next) + ConstIterator(const Tree* tree, Node* next) : fTree(tree), fNext(next) @@ -483,8 +483,8 @@ public: } private: - Tree* fTree; - Node* fNext; + const Tree* fTree; + Node* fNext; }; IteratableSplayTree()