File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -920,8 +920,8 @@ OurFeatures OurFeatures::all() { return OurFeatures(); }
920
920
// exact copy of Reader, renamed to OurReader
921
921
class OurReader {
922
922
public:
923
- typedef char Char;
924
- typedef const Char* Location ;
923
+ using Char = char ;
924
+ using Location = const Char*;
925
925
struct StructuredError {
926
926
ptrdiff_t offset_start;
927
927
ptrdiff_t offset_limit;
@@ -977,7 +977,7 @@ class OurReader {
977
977
Location extra_;
978
978
};
979
979
980
- typedef std::deque<ErrorInfo> Errors ;
980
+ using Errors = std::deque<ErrorInfo>;
981
981
982
982
bool readToken (Token& token);
983
983
void skipSpaces ();
@@ -1019,7 +1019,7 @@ class OurReader {
1019
1019
void addComment (Location begin, Location end, CommentPlacement placement);
1020
1020
void skipCommentTokens (Token& token);
1021
1021
1022
- typedef std::stack<Value*> Nodes ;
1022
+ using Nodes = std::stack<Value*>;
1023
1023
Nodes nodes_;
1024
1024
Errors errors_;
1025
1025
JSONCPP_STRING document_;
You can’t perform that action at this time.
0 commit comments