Skip to content

Commit 8c49210

Browse files
committed
🔨 amalgamate code
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
1 parent e181e9f commit 8c49210

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

single_include/nlohmann/json.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8055,6 +8055,8 @@ class lexer : public lexer_base<BasicJsonType>
80558055
break;
80568056
}
80578057
}
8058+
8059+
JSON_HEDLEY_UNREACHABLE();
80588060
}
80598061

80608062
// multi-line comments skip input until */ is read
@@ -8090,6 +8092,8 @@ class lexer : public lexer_base<BasicJsonType>
80908092
continue;
80918093
}
80928094
}
8095+
8096+
JSON_HEDLEY_UNREACHABLE();
80938097
}
80948098

80958099
// unexpected character after reading '/'

0 commit comments

Comments
 (0)