From 544150d5a54058f91dbda330087cc93844ecd6aa Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 26 Oct 2018 11:10:49 +0200 Subject: [PATCH] :rotating_light: fixed another linter warning --- include/nlohmann/detail/output/serializer.hpp | 4 ++-- single_include/nlohmann/json.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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