mirror of
https://github.com/google/flatbuffers.git
synced 2026-11-11 06:35:07 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36c488a498 |
@@ -2176,7 +2176,6 @@ class JavaGenerator : public BaseGenerator {
|
||||
if (field.deprecated) continue;
|
||||
if (field.value.type.base_type == BASE_TYPE_UTYPE) continue;
|
||||
if (field.value.type.element == BASE_TYPE_UTYPE) continue;
|
||||
const auto get_field = namer_.Method("get", field);
|
||||
|
||||
code += " this." + namer_.Field(field) + " = ";
|
||||
const auto type_name =
|
||||
|
||||
@@ -1141,7 +1141,6 @@ class SwiftGenerator : public BaseGenerator {
|
||||
it != struct_def.fields.vec.end(); ++it) {
|
||||
const auto& field = **it;
|
||||
if (field.deprecated) continue;
|
||||
const auto offset = NumToString(field.value.offset);
|
||||
|
||||
code_.SetValue("FIELDVAR", namer_.Variable(field));
|
||||
code_.SetValue("VALUETYPE", GenerateVerifierType(field));
|
||||
|
||||
Reference in New Issue
Block a user