tell GCC copying into SkScalerContextRect is safe
GCC warns now about memcpy()ing into types that have no trival copy
assignment. (I think it's the mix of public and private fields that
makes SkScalerContextRec non-trivial.)
Yet SkScalarContextRec really is designed for memcpy(), so we can just
stifle it by casting the memcpy() destination pointer to void*.
Change-Id: I72f9aedd3e1ff9d496db066260bcde7178c1bf7a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/258338
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
1 file changed