mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-11 07:27:27 +00:00
builder.put statements now use correct argument names
This commit is contained in:
@@ -481,7 +481,7 @@ static void GenStructBody(const LanguageParameters &lang,
|
||||
}
|
||||
if (IsStruct(field.value.type)) {
|
||||
GenStructBody(lang, *field.value.type.struct_def, code_ptr,
|
||||
(field.value.type.struct_def->name + "_").c_str());
|
||||
(nameprefix + (field.name + "_")).c_str());
|
||||
} else {
|
||||
code += " builder." + FunctionStart(lang, 'P') + "ut";
|
||||
code += GenMethod(lang, field.value.type) + "(";
|
||||
|
||||
Reference in New Issue
Block a user