Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UnPackTo disable merge by default (#7527)
* UnPackTo disable merge by default * avoid double free in test * remove merge parameter * remove shrink to fit
- Loading branch information
1 parent
4fca4dc
commit bc44fad
Showing
16 changed files
with
202 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
@dbaileychess I noticed that this is not correct for fixed arrays.
The FB compiler generates something like
{ auto const _e = speed(); { _o->speed.resize(_e->size()); for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->speed[_i] = _e->Get(_i); } } else { _o->speed.resize(0); } }
forspeed: [float: 4]
.