diff --git a/include/nlohmann/detail/input/binary_reader.hpp b/include/nlohmann/detail/input/binary_reader.hpp index 2052fbffd..f5871ddf6 100644 --- a/include/nlohmann/detail/input/binary_reader.hpp +++ b/include/nlohmann/detail/input/binary_reader.hpp @@ -2082,9 +2082,8 @@ class binary_reader } if (!value_in_range_of(number)) { - // undo coverage exclusion once the 32bit test is run as part of CI (#3524) - return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, // LCOV_EXCL_LINE - exception_message(input_format, "integer value overflow", "size"), nullptr)); // LCOV_EXCL_LINE + return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, + exception_message(input_format, "integer value overflow", "size"), nullptr)); } result = static_cast(number); return true; @@ -2133,9 +2132,8 @@ class binary_reader } if (!value_in_range_of(number)) { - // undo coverage exclusion once the 32bit test is run as part of CI (#3524) - return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, // LCOV_EXCL_LINE - exception_message(input_format, "integer value overflow", "size"), nullptr)); // LCOV_EXCL_LINE + return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, + exception_message(input_format, "integer value overflow", "size"), nullptr)); } result = detail::conditional_static_cast(number); return true; diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 54e93eb0d..830a0ed90 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -10767,9 +10767,8 @@ class binary_reader } if (!value_in_range_of(number)) { - // undo coverage exclusion once the 32bit test is run as part of CI (#3524) - return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, // LCOV_EXCL_LINE - exception_message(input_format, "integer value overflow", "size"), nullptr)); // LCOV_EXCL_LINE + return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, + exception_message(input_format, "integer value overflow", "size"), nullptr)); } result = static_cast(number); return true; @@ -10818,9 +10817,8 @@ class binary_reader } if (!value_in_range_of(number)) { - // undo coverage exclusion once the 32bit test is run as part of CI (#3524) - return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, // LCOV_EXCL_LINE - exception_message(input_format, "integer value overflow", "size"), nullptr)); // LCOV_EXCL_LINE + return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, + exception_message(input_format, "integer value overflow", "size"), nullptr)); } result = detail::conditional_static_cast(number); return true;