mirror of
https://github.com/google/flatbuffers.git
synced 2026-11-08 05:09:09 +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.