From 1d6e8a8c2cc612dc5902c5dc3a51835a052f8d5b Mon Sep 17 00:00:00 2001 From: Chen Date: Wed, 20 May 2020 18:59:58 +0800 Subject: [PATCH] fix compile error : anonymous struct (#1177) --- include/json/value.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/json/value.h b/include/json/value.h index 988a22c..c2efe95 100644 --- a/include/json/value.h +++ b/include/json/value.h @@ -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.