Skip to content
Browse files

Remove old TODO

  • Loading branch information...
1 parent ce3339b commit bd03878066a2caac94e8c4aa1d56f569a96d72cd @wichtounet committed Jun 2, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 include/lfmst/MultiwaySearchTree.hpp
View
6 include/lfmst/MultiwaySearchTree.hpp
@@ -798,7 +798,7 @@ int compare(Key k1, Key k2){
return -1;
}
- return k1.key - k2.key; //TODO Check if 1 - 2 or 2 - 1
+ return k1.key - k2.key;
}
//node must be published by parent
@@ -1437,9 +1437,9 @@ Search* MultiwaySearchTree<T, Threads>::goodSamaritanCleanNeighbor(Key key, Sear
shiftChild(sibling, siblingContents, 0, adjustedNephew);
}
} else {
- bool success = slideToNeighbor(sibling, siblingContents, leftBarrier, leftBarrier, child);//TODO check leftBarrier
+ bool success = slideToNeighbor(sibling, siblingContents, leftBarrier, leftBarrier, child);
if(success){
- contents = deleteSlidedKey(node, contents, leftBarrier);//TODO Check leftBarrier
+ contents = deleteSlidedKey(node, contents, leftBarrier);
nodeContents.publish(contents, 2);
nodeKeys.publish(contents->items, 2);
nodeChildren.publish(contents->children, 2);

0 comments on commit bd03878

Please sign in to comment.
Something went wrong with that request. Please try again.