File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ RAPIDJSON_MULTILINEMACRO_END
138
138
// ! Combination of validate flags
139
139
/* ! \see
140
140
*/
141
- enum ValidateFlag : unsigned {
141
+ enum ValidateFlag {
142
142
kValidateNoFlags = 0 , // !< No flags are set.
143
143
kValidateContinueOnErrorFlag = 1 , // !< Don't stop after first validation error.
144
144
kValidateDefaultFlags = RAPIDJSON_VALIDATE_DEFAULT_FLAGS // !< Default validate flags. Can be customized by defining RAPIDJSON_VALIDATE_DEFAULT_FLAGS
@@ -2279,7 +2279,7 @@ RAPIDJSON_MULTILINEMACRO_END
2279
2279
depth_ + 1 ,
2280
2280
#endif
2281
2281
&GetStateAllocator ());
2282
- sv->SetValidateFlags (inheritContinueOnErrors ? GetValidateFlags () : GetValidateFlags () & ~kValidateContinueOnErrorFlag );
2282
+ sv->SetValidateFlags (inheritContinueOnErrors ? GetValidateFlags () : GetValidateFlags () & ~( unsigned ) kValidateContinueOnErrorFlag );
2283
2283
return sv;
2284
2284
}
2285
2285
You can’t perform that action at this time.
0 commit comments