Mercurial > dedupe
diff RBTree.hpp @ 22:d62f708ad88b
Cosmetics.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Wed, 05 Sep 2012 21:55:21 +0200 |
| parents | fcb7a71a22c1 |
| children | b2c2c2bf2bbd |
line wrap: on
line diff
--- a/RBTree.hpp Wed Sep 05 21:54:53 2012 +0200 +++ b/RBTree.hpp Wed Sep 05 21:55:21 2012 +0200 @@ -271,8 +271,8 @@ } friend class RBTree; + }; - }; RBTreeNode* node; public: RBTree() : node(0) @@ -304,6 +304,7 @@ node = node->getRootNode(); CONSISTENCY_CHECK(this); } + boost::optional<Data> find(const Data& data) { if (node) {
