diff --git a/include/rapidjson/error/en.h b/include/rapidjson/error/en.h index b4a3ae1..c668ac7 100644 --- a/include/rapidjson/error/en.h +++ b/include/rapidjson/error/en.h @@ -37,7 +37,6 @@ inline const RAPIDJSON_ERROR_CHARTYPE* GetParseError_En(ParseErrorCode parseErro case kParseErrorNone: return RAPIDJSON_ERROR_STRING("No error."); case kParseErrorDocumentEmpty: return RAPIDJSON_ERROR_STRING("The document is empty."); - case kParseErrorDocumentRootNotObjectOrArray: return RAPIDJSON_ERROR_STRING("The document root must be either object or array."); case kParseErrorDocumentRootNotSingular: return RAPIDJSON_ERROR_STRING("The document root must not follow by other values."); case kParseErrorValueInvalid: return RAPIDJSON_ERROR_STRING("Invalid value."); diff --git a/include/rapidjson/error/error.h b/include/rapidjson/error/error.h index bc5462a..3db6f16 100644 --- a/include/rapidjson/error/error.h +++ b/include/rapidjson/error/error.h @@ -57,7 +57,6 @@ enum ParseErrorCode { kParseErrorNone = 0, //!< No error. kParseErrorDocumentEmpty, //!< The document is empty. - kParseErrorDocumentRootNotObjectOrArray, //!< The document root must be either object or array. kParseErrorDocumentRootNotSingular, //!< The document root must not follow by other values. kParseErrorValueInvalid, //!< Invalid value.