mirror of
https://github.com/corda/corda.git
synced 2025-02-02 01:08:09 +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(obfuscate(memberName(m)));
|
||||||
out->write(");\n");
|
out->write(");\n");
|
||||||
|
|
||||||
|
hasObjectMask = true;
|
||||||
|
} else if (m->type == Object::Array
|
||||||
|
and equal(memberTypeName(m), "object")
|
||||||
|
and not memberNoGC(m))
|
||||||
|
{
|
||||||
hasObjectMask = true;
|
hasObjectMask = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user