Skip to content

Commit 1d6e8a8

Browse files
authored
fix compile error : anonymous struct (#1177)
1 parent 7c186e5 commit 1d6e8a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: include/json/value.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ class JSON_API Value {
639639
ObjectValues* map_;
640640
} value_;
641641

642-
struct {
642+
struct Bits {
643643
// Really a ValueType, but types should agree for bitfield packing.
644644
unsigned int value_type_ : 8;
645645
// Unless allocated_, string_ must be null-terminated.

0 commit comments

Comments
 (0)