Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
R
rapidjson
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
rapidjson
Commits
89793599
Commit
89793599
authored
Aug 11, 2014
by
Philipp A. Hartmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error/{en,error}.h: drop unused kParseErrorDocumentRootNotObjectOrArray error
parent
c2567526
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
en.h
include/rapidjson/error/en.h
+0
-1
error.h
include/rapidjson/error/error.h
+0
-1
No files found.
include/rapidjson/error/en.h
View file @
89793599
...
@@ -37,7 +37,6 @@ inline const RAPIDJSON_ERROR_CHARTYPE* GetParseError_En(ParseErrorCode parseErro
...
@@ -37,7 +37,6 @@ inline const RAPIDJSON_ERROR_CHARTYPE* GetParseError_En(ParseErrorCode parseErro
case
kParseErrorNone
:
return
RAPIDJSON_ERROR_STRING
(
"No error."
);
case
kParseErrorNone
:
return
RAPIDJSON_ERROR_STRING
(
"No error."
);
case
kParseErrorDocumentEmpty
:
return
RAPIDJSON_ERROR_STRING
(
"The document is empty."
);
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
kParseErrorDocumentRootNotSingular
:
return
RAPIDJSON_ERROR_STRING
(
"The document root must not follow by other values."
);
case
kParseErrorValueInvalid
:
return
RAPIDJSON_ERROR_STRING
(
"Invalid value."
);
case
kParseErrorValueInvalid
:
return
RAPIDJSON_ERROR_STRING
(
"Invalid value."
);
...
...
include/rapidjson/error/error.h
View file @
89793599
...
@@ -57,7 +57,6 @@ enum ParseErrorCode {
...
@@ -57,7 +57,6 @@ enum ParseErrorCode {
kParseErrorNone
=
0
,
//!< No error.
kParseErrorNone
=
0
,
//!< No error.
kParseErrorDocumentEmpty
,
//!< The document is empty.
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.
kParseErrorDocumentRootNotSingular
,
//!< The document root must not follow by other values.
kParseErrorValueInvalid
,
//!< Invalid value.
kParseErrorValueInvalid
,
//!< Invalid value.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment