-
Keith Moyer authored
GCC 8 added a -Wclass-memaccess that is enabled in -Wall that warns when making direct memory modifications to non-trivial objects. The objects that are modified here are only "non-trivial" in non-interesting ways (e.g., removal of copy constructor) and can be safely modified as is being done. This simply explicitly casts the pointers before calling memset to indicate that they should be treated as raw memory.
c1f650a3