Fix warning.

-Wclass-memaccess was added in GCC8
This commit is contained in:
Fletcher Dunn
2021-10-08 20:51:29 -07:00
parent 3a5296eb5a
commit 13afeb6fcc
@@ -1162,7 +1162,7 @@ namespace vstd
// If they tell us it's OK to relocate the type, then ignore GCC warnings
#ifdef __GNUC__
#pragma GCC diagnostic push
#if __GNUC__ >= 11
#if __GNUC__ >= 8
#pragma GCC diagnostic ignored "-Wclass-memaccess"
#endif
#endif