| Index: src/splay-tree.h
|
| ===================================================================
|
| --- src/splay-tree.h (revision 9202)
|
| +++ src/splay-tree.h (working copy)
|
| @@ -123,8 +123,8 @@
|
| Value value() { return value_; }
|
| Node* left() { return left_; }
|
| Node* right() { return right_; }
|
| - private:
|
|
|
| + private:
|
| friend class SplayTree;
|
| friend class Locator;
|
| Key key_;
|
| @@ -143,6 +143,7 @@
|
| Value& value() { return node_->value_; }
|
| void set_value(const Value& value) { node_->value_ = value; }
|
| inline void bind(Node* node) { node_ = node; }
|
| +
|
| private:
|
| Node* node_;
|
| };
|
| @@ -151,7 +152,6 @@
|
| void ForEach(Callback* callback);
|
|
|
| protected:
|
| -
|
| // Resets tree root. Existing nodes become unreachable.
|
| void ResetRoot() { root_ = NULL; }
|
|
|
| @@ -187,7 +187,6 @@
|
| void Call(Node* node) { delete node; }
|
|
|
| private:
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(NodeDeleter);
|
| };
|
|
|
|
|