mirror of
https://github.com/google/flatbuffers.git
synced 2026-08-04 08:23:59 +00:00
a1f14005ab
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.