diff --git a/include/nlohmann/detail/output/serializer.hpp b/include/nlohmann/detail/output/serializer.hpp index 090f22b1..41f248a2 100644 --- a/include/nlohmann/detail/output/serializer.hpp +++ b/include/nlohmann/detail/output/serializer.hpp @@ -460,10 +460,10 @@ class serializer // continue processing the string state = UTF8_ACCEPT; - continue; + break; } } - break; // LCOV_EXCL_LINE + break; } default: // decode found yet incomplete multi-byte code point diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index c2295399..9b2636ad 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -11158,10 +11158,10 @@ class serializer // continue processing the string state = UTF8_ACCEPT; - continue; + break; } } - break; // LCOV_EXCL_LINE + break; } default: // decode found yet incomplete multi-byte code point