mirror of
https://github.com/nlohmann/json.git
synced 2024-07-16 03:15:44 +02:00
added default value
This commit is contained in:
parent
b145e0c404
commit
5405ae8601
|
@ -8991,7 +8991,7 @@ basic_json_parser_63:
|
||||||
/// current level of recursion
|
/// current level of recursion
|
||||||
int depth = 0;
|
int depth = 0;
|
||||||
/// callback function
|
/// callback function
|
||||||
const parser_callback_t callback;
|
const parser_callback_t callback = nullptr;
|
||||||
/// the type of the last read token
|
/// the type of the last read token
|
||||||
typename lexer::token_type last_token = lexer::token_type::uninitialized;
|
typename lexer::token_type last_token = lexer::token_type::uninitialized;
|
||||||
/// the lexer
|
/// the lexer
|
||||||
|
|
|
@ -8288,7 +8288,7 @@ class basic_json
|
||||||
/// current level of recursion
|
/// current level of recursion
|
||||||
int depth = 0;
|
int depth = 0;
|
||||||
/// callback function
|
/// callback function
|
||||||
const parser_callback_t callback;
|
const parser_callback_t callback = nullptr;
|
||||||
/// the type of the last read token
|
/// the type of the last read token
|
||||||
typename lexer::token_type last_token = lexer::token_type::uninitialized;
|
typename lexer::token_type last_token = lexer::token_type::uninitialized;
|
||||||
/// the lexer
|
/// the lexer
|
||||||
|
|
Loading…
Reference in a new issue