1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-24 07:53:41 +03:00

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

This commit is contained in:
Maxime Coste 2021-12-11 08:44:19 +11:00
parent 658b6b0f1a
commit b65df4bebf

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++) for (size_t i = 0; i < max_parsing_depth+1; i++)
{ {
big_nested_array[i] = '['; big_nested_array[i] = '[';