Fix big-endian build. (#5205)
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.
Showing
Please
register
or
sign in
to comment