mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-10 15:16:28 +00:00
Fix generation of C++ code with Optional<Enum> (#6155)
This commit is contained in:
@@ -116,7 +116,7 @@ struct ScalarStuffT : public flatbuffers::NativeTable {
|
||||
maybe_f64(flatbuffers::nullopt),
|
||||
default_f64(42.0),
|
||||
just_bool(false),
|
||||
maybe_bool(true),
|
||||
maybe_bool(flatbuffers::nullopt),
|
||||
default_bool(true),
|
||||
just_enum(optional_scalars::OptionalByte_None),
|
||||
default_enum(optional_scalars::OptionalByte_One) {
|
||||
|
||||
Reference in New Issue
Block a user