commit | f4155e47278100296ba2a8d149cf4ae5b3581e44 | [log] [tgz] |
---|---|---|
author | Niels Lohmann <niels.lohmann@gmail.com> | Sat Aug 01 15:32:21 2020 +0200 |
committer | GitHub <noreply@github.com> | Sat Aug 01 15:32:21 2020 +0200 |
tree | 176876ce18ca5475ff35fa1dce64084a00e4e243 | |
parent | 8a54617240607be94ac428970273295ed8e23618 [diff] | |
parent | 0326e4e2a69d5cbb3d92b5b982b077a54084731b [diff] |
Merge pull request #2333 from nlohmann/fallthrough Fix fallthrough warning
diff --git a/include/nlohmann/detail/input/lexer.hpp b/include/nlohmann/detail/input/lexer.hpp index b255b9d..0a96013 100644 --- a/include/nlohmann/detail/input/lexer.hpp +++ b/include/nlohmann/detail/input/lexer.hpp
@@ -880,13 +880,13 @@ default: { unget(); - break; + continue; } } } default: - break; + continue; } } }
diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 723773d..41c1711 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp
@@ -6759,13 +6759,13 @@ default: { unget(); - break; + continue; } } } default: - break; + continue; } } }