mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-03 12:21:23 +00:00
various fixes (#7986)
This commit is contained in:
@@ -2719,7 +2719,8 @@ bool Parser::Supports64BitOffsets() const {
|
||||
}
|
||||
|
||||
bool Parser::SupportsUnionUnderlyingType() const {
|
||||
return (opts.lang_to_generate & ~(IDLOptions::kCpp | IDLOptions::kTs)) == 0;
|
||||
return (opts.lang_to_generate & ~(IDLOptions::kCpp | IDLOptions::kTs |
|
||||
IDLOptions::kBinary)) == 0;
|
||||
}
|
||||
|
||||
Namespace *Parser::UniqueNamespace(Namespace *ns) {
|
||||
|
||||
Reference in New Issue
Block a user