From a58ed3cd178c89e3ae2fafe0af7a799f6ee0c234 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sat, 25 Mar 2017 14:47:23 +0100 Subject: [PATCH] :lipstick: cleanup --- src/json.hpp | 10 +++++----- src/json.hpp.re2c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/json.hpp b/src/json.hpp index 6ec045aa..cc69d542 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -12486,7 +12486,7 @@ basic_json_parser_74: { result = &result->operator[](static_cast(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")); } @@ -12585,7 +12585,7 @@ basic_json_parser_74: { ptr = &ptr->operator[](static_cast(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")); } @@ -12643,7 +12643,7 @@ basic_json_parser_74: { ptr = &ptr->at(static_cast(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")); } @@ -12707,7 +12707,7 @@ basic_json_parser_74: { ptr = &ptr->operator[](static_cast(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")); } @@ -12764,7 +12764,7 @@ basic_json_parser_74: { ptr = &ptr->at(static_cast(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")); } diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index 7d21f76b..1480a5f5 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -11519,7 +11519,7 @@ class basic_json { result = &result->operator[](static_cast(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")); } @@ -11618,7 +11618,7 @@ class basic_json { ptr = &ptr->operator[](static_cast(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")); } @@ -11676,7 +11676,7 @@ class basic_json { ptr = &ptr->at(static_cast(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")); } @@ -11740,7 +11740,7 @@ class basic_json { ptr = &ptr->operator[](static_cast(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")); } @@ -11797,7 +11797,7 @@ class basic_json { ptr = &ptr->at(static_cast(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")); }