A bug fix to the union vector feature in FlatBuffers.

Change-Id: I302245969f6ec2443572799732fce2aa7c071879
parent f9055ff9
......@@ -1016,6 +1016,7 @@ class CppGenerator : public BaseGenerator {
break;
}
case BASE_TYPE_UNION: {
code_.SetValue("ENUM_NAME", field.value.type.enum_def->name);
code_ += "{{PRE}}Verify{{ENUM_NAME}}Vector(verifier, {{NAME}}(), {{NAME}}_type())\\";
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment