mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-03 12:21:23 +00:00
For some reason, Offset<T> is being considered a scalar, which causes EndianSwap to be passed an Offset<T>. This doesn't work, as it does not support types with non-trivial constructors. This change adds an overload to WriteScalar(), which works around this.