mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
don't mark nogc fields
This commit is contained in:
parent
40e71a4856
commit
43b9cce7d0
@ -1009,7 +1009,7 @@ bool isFieldGcVisible(Module& module, Field& f) {
|
||||
}
|
||||
|
||||
bool isFieldGcMarkable(Module& module, Field& f) {
|
||||
return (f.typeName == "maybe_object" || enumName(module, f) == "object");
|
||||
return (f.typeName == "maybe_object" || enumName(module, f) == "object") && !f.nogc;
|
||||
}
|
||||
|
||||
void writeClassAccessors(Output* out, Module& module, Class* cl)
|
||||
|
Loading…
Reference in New Issue
Block a user