mdds/compare-to-the-other-node.patch

20 lines
574 B
Diff

# HG changeset patch
# Parent 9b68208cb03bb3ece046c8b60a6a0777fea46d4a
fix typo in node::equals
diff -r 9b68208cb03b include/mdds/node.hpp
--- a/include/mdds/node.hpp Fri Feb 11 11:24:57 2011 -0500
+++ b/include/mdds/node.hpp Thu Mar 24 08:27:28 2011 +0100
@@ -154,9 +154,9 @@
return false;
if (is_leaf)
- return value_leaf == value_leaf;
+ return value_leaf == r.value_leaf;
else
- return value_nonleaf == value_nonleaf;
+ return value_nonleaf == r.value_nonleaf;
return true;
}