Fixing build

Former-commit-id: f8e02c251c
This commit is contained in:
Henrique Gemignani Passos Lima
2022-12-22 01:26:49 -03:00
parent 77a34e5480
commit fa49ecfc17
9 changed files with 16 additions and 32 deletions

View File

@@ -101,9 +101,9 @@ public:
struct iterator : public const_iterator {
iterator(node* node, const header* header, bool b) : const_iterator(node, header, b) {}
P* operator->() { return mNode->get_value(); }
P* operator*() { return mNode->get_value(); }
node* get_node() { return mNode; }
P* operator->() { return const_iterator::mNode->get_value(); }
P* operator*() { return const_iterator::mNode->get_value(); }
node* get_node() { return const_iterator::mNode; }
};
red_black_tree() : x0_(0), x1_(0), x4_count(0) {}