mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-19 22:45:43 +00:00
[C++, Java, C#, TypeScript, JavaScript] Skip generation of mutable union types (#5599)
* Skip generation of mutable union types * Removed C# and Java unit tests that mutated a Union type
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
7b38aa71e6
commit
46ae3f80a6
@@ -361,9 +361,6 @@ struct Movie FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
|
||||
Character main_character_type() const {
|
||||
return static_cast<Character>(GetField<uint8_t>(VT_MAIN_CHARACTER_TYPE, 0));
|
||||
}
|
||||
bool mutate_main_character_type(Character _main_character_type) {
|
||||
return SetField<uint8_t>(VT_MAIN_CHARACTER_TYPE, static_cast<uint8_t>(_main_character_type), 0);
|
||||
}
|
||||
const void *main_character() const {
|
||||
return GetPointer<const void *>(VT_MAIN_CHARACTER);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user