fix compile error : anonymous struct (#1177)

This commit is contained in:
Chen 2020-05-20 18:59:58 +08:00 committed by GitHub
parent 7c186e549f
commit 1d6e8a8c2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -639,7 +639,7 @@ private:
ObjectValues* map_;
} value_;
struct {
struct Bits {
// Really a ValueType, but types should agree for bitfield packing.
unsigned int value_type_ : 8;
// Unless allocated_, string_ must be null-terminated.