Mercurial > hg > Gears > Gears
changeset 1060:5d8dce4e13df
fix: rbtree copy assert2 test passed
author | matac42 <matac@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 27 Jan 2024 21:41:32 +0900 |
parents | bc8f12df3f80 |
children | 1752e8a6e04c |
files | src/parallel_execution/Tree.h src/parallel_execution/test/rbTreeCopy_test.cbc |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/parallel_execution/Tree.h Sat Jan 27 17:58:43 2024 +0900 +++ b/src/parallel_execution/Tree.h Sat Jan 27 21:41:32 2024 +0900 @@ -7,7 +7,7 @@ __code put(Impl* tree, Type* node, __code next(...)); __code get(Impl* tree, Type* node, __code next(...)); __code remove(Impl* tree, Type* node, __code next(...)); - __code copy(Impl* tree, Type* node, __code next(...)); + __code copy(Impl* tree, __code next(...)); // __code clearRedBlackTree(); __code next(...); } Tree;
--- a/src/parallel_execution/test/rbTreeCopy_test.cbc Sat Jan 27 17:58:43 2024 +0900 +++ b/src/parallel_execution/test/rbTreeCopy_test.cbc Sat Jan 27 21:41:32 2024 +0900 @@ -62,7 +62,7 @@ printf("test4\n"); Node* node = new Node(); node->value = (union Data*)new Integer(); - goto tree->copy(node, assert1); + goto tree->copy(assert1); } __code rbTreeTest4_stub(struct Context* context) { @@ -199,7 +199,7 @@ printf("test12\n"); Node* node = new Node(); node->value = (union Data*)new Integer(); - goto tree->copy(node, assert2); + goto tree->copy(assert2); } __code rbTreeTest12_stub(struct Context* context) {