mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
mark classes containing object array fields as needing an object mask in type-generator.cpp
This commit is contained in:
parent
c096c8f1e4
commit
d057ac6a47
@ -1951,6 +1951,11 @@ writeConstructors(Output* out, Object* declarations)
|
||||
out->write(obfuscate(memberName(m)));
|
||||
out->write(");\n");
|
||||
|
||||
hasObjectMask = true;
|
||||
} else if (m->type == Object::Array
|
||||
and equal(memberTypeName(m), "object")
|
||||
and not memberNoGC(m))
|
||||
{
|
||||
hasObjectMask = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user