# HG changeset patch # User matac42 # Date 1706359292 -32400 # Node ID 5d8dce4e13df1a6113a809e5aa51964c83ba8ca0 # Parent bc8f12df3f80eb1fd6eb53398cab725805e007fc fix: rbtree copy assert2 test passed diff -r bc8f12df3f80 -r 5d8dce4e13df src/parallel_execution/Tree.h --- 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; diff -r bc8f12df3f80 -r 5d8dce4e13df src/parallel_execution/test/rbTreeCopy_test.cbc --- 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) {