Skip to content

Commit

Permalink
Fix Python onefile deserialization
Browse files Browse the repository at this point in the history
With include_dependence_headers set to false, fbs files that include
from other fbs files would not properly deserialize.

Fixes google#8543
  • Loading branch information
sethraymond committed Feb 27, 2025
1 parent 1c51462 commit c61d837
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 55 deletions.
1 change: 0 additions & 1 deletion src/flatc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ FlatCOptions FlatCompiler::ParseFromCommandLineArguments(int argc,
opts.include_dependence_headers = false;
} else if (arg == "--gen-onefile") {
opts.one_file = true;
opts.include_dependence_headers = false;
} else if (arg == "--raw-binary") {
options.raw_binary = true;
} else if (arg == "--size-prefixed") {
Expand Down
Loading

0 comments on commit c61d837

Please sign in to comment.