💄 cleanup

parent 20bcf101
...@@ -12486,7 +12486,7 @@ basic_json_parser_74: ...@@ -12486,7 +12486,7 @@ basic_json_parser_74:
{ {
result = &result->operator[](static_cast<size_type>(std::stoi(reference_token))); result = &result->operator[](static_cast<size_type>(std::stoi(reference_token)));
} }
JSON_CATCH(std::invalid_argument&) JSON_CATCH (std::invalid_argument&)
{ {
JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number")); JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number"));
} }
...@@ -12585,7 +12585,7 @@ basic_json_parser_74: ...@@ -12585,7 +12585,7 @@ basic_json_parser_74:
{ {
ptr = &ptr->operator[](static_cast<size_type>(std::stoi(reference_token))); ptr = &ptr->operator[](static_cast<size_type>(std::stoi(reference_token)));
} }
JSON_CATCH(std::invalid_argument&) JSON_CATCH (std::invalid_argument&)
{ {
JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number")); JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number"));
} }
...@@ -12643,7 +12643,7 @@ basic_json_parser_74: ...@@ -12643,7 +12643,7 @@ basic_json_parser_74:
{ {
ptr = &ptr->at(static_cast<size_type>(std::stoi(reference_token))); ptr = &ptr->at(static_cast<size_type>(std::stoi(reference_token)));
} }
JSON_CATCH(std::invalid_argument&) JSON_CATCH (std::invalid_argument&)
{ {
JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number")); JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number"));
} }
...@@ -12707,7 +12707,7 @@ basic_json_parser_74: ...@@ -12707,7 +12707,7 @@ basic_json_parser_74:
{ {
ptr = &ptr->operator[](static_cast<size_type>(std::stoi(reference_token))); ptr = &ptr->operator[](static_cast<size_type>(std::stoi(reference_token)));
} }
JSON_CATCH(std::invalid_argument&) JSON_CATCH (std::invalid_argument&)
{ {
JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number")); JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number"));
} }
...@@ -12764,7 +12764,7 @@ basic_json_parser_74: ...@@ -12764,7 +12764,7 @@ basic_json_parser_74:
{ {
ptr = &ptr->at(static_cast<size_type>(std::stoi(reference_token))); ptr = &ptr->at(static_cast<size_type>(std::stoi(reference_token)));
} }
JSON_CATCH(std::invalid_argument&) JSON_CATCH (std::invalid_argument&)
{ {
JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number")); JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number"));
} }
......
...@@ -11519,7 +11519,7 @@ class basic_json ...@@ -11519,7 +11519,7 @@ class basic_json
{ {
result = &result->operator[](static_cast<size_type>(std::stoi(reference_token))); result = &result->operator[](static_cast<size_type>(std::stoi(reference_token)));
} }
JSON_CATCH(std::invalid_argument&) JSON_CATCH (std::invalid_argument&)
{ {
JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number")); JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number"));
} }
...@@ -11618,7 +11618,7 @@ class basic_json ...@@ -11618,7 +11618,7 @@ class basic_json
{ {
ptr = &ptr->operator[](static_cast<size_type>(std::stoi(reference_token))); ptr = &ptr->operator[](static_cast<size_type>(std::stoi(reference_token)));
} }
JSON_CATCH(std::invalid_argument&) JSON_CATCH (std::invalid_argument&)
{ {
JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number")); JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number"));
} }
...@@ -11676,7 +11676,7 @@ class basic_json ...@@ -11676,7 +11676,7 @@ class basic_json
{ {
ptr = &ptr->at(static_cast<size_type>(std::stoi(reference_token))); ptr = &ptr->at(static_cast<size_type>(std::stoi(reference_token)));
} }
JSON_CATCH(std::invalid_argument&) JSON_CATCH (std::invalid_argument&)
{ {
JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number")); JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number"));
} }
...@@ -11740,7 +11740,7 @@ class basic_json ...@@ -11740,7 +11740,7 @@ class basic_json
{ {
ptr = &ptr->operator[](static_cast<size_type>(std::stoi(reference_token))); ptr = &ptr->operator[](static_cast<size_type>(std::stoi(reference_token)));
} }
JSON_CATCH(std::invalid_argument&) JSON_CATCH (std::invalid_argument&)
{ {
JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number")); JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number"));
} }
...@@ -11797,7 +11797,7 @@ class basic_json ...@@ -11797,7 +11797,7 @@ class basic_json
{ {
ptr = &ptr->at(static_cast<size_type>(std::stoi(reference_token))); ptr = &ptr->at(static_cast<size_type>(std::stoi(reference_token)));
} }
JSON_CATCH(std::invalid_argument&) JSON_CATCH (std::invalid_argument&)
{ {
JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number")); JSON_THROW(parse_error(109, 0, "array index '" + reference_token + "' is not a number"));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment