fix Value::unmark() w/ parents=true

This commit is contained in:
Michael Davidsaver
2023-02-11 11:02:59 -08:00
parent da2737f6d2
commit 30b040465a
3 changed files with 8 additions and 3 deletions
+5 -1
View File
@@ -160,6 +160,10 @@ void testIterStruct()
val["timeStamp"].mark(); // 4 fields (struct node and 3x leaves)
testMarked(6u)<<"mark multiple sub-struct";
val["timeStamp.nanoseconds"].unmark(true);
testMarked(2u)<<"mark multiple sub-struct";
}
void testIterUnion()
@@ -391,7 +395,7 @@ void testClear()
MAIN(testdata)
{
testPlan(132);
testPlan(133);
testSetup();
testTraverse();
testAssign();