Fix spurious warning likely due to String::Data not being std compliant

main
Maxime Coste 2021-12-11 08:44:19 +11:00
parent 658b6b0f1a
commit b65df4bebf
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ UnitTest test_json_parser{[]()
}
{
String big_nested_array{' ', CharCount{max_parsing_depth*2+2}};
char big_nested_array[max_parsing_depth*2+2+1] = {};
for (size_t i = 0; i < max_parsing_depth+1; i++)
{
big_nested_array[i] = '[';