Changeset 48f09f2f in mainline for uspace/lib/cpp/include/internal/rbtree.hpp
- Timestamp:
- 2018-07-05T21:41:22Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e8ebed9
- Parents:
- bb02129
- git-author:
- Dzejrou <dzejrou@…> (2018-05-01 20:48:53)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:22)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/internal/rbtree.hpp
rbb02129 r48f09f2f 313 313 } 314 314 315 node_type* find_parent_for_insertion(const value_type& val) const315 node_type* find_parent_for_insertion(const key_type& key) const 316 316 { 317 317 auto current = root_; … … 321 321 { 322 322 parent = current; 323 if (key_compare_(key _extractor_(val), key_extractor_(current->value)))323 if (key_compare_(key, key_extractor_(current->value))) 324 324 current = current->left; 325 325 else
Note:
See TracChangeset
for help on using the changeset viewer.