--- a/goo/GooString.h +++ b/goo/GooString.h @@ -175,7 +175,7 @@ // You can tweak the final object size for different time/space tradeoffs. // In libc malloc(), rounding is 16 so it's best to choose a value that // is a multiple of 16. - class MemoryLayout { + struct MemoryLayout { char c[sizeof(char*)]; int i; char* s;