Open chrchr-github opened 4 weeks ago
I don't think it is a false positive. f
should receive a c-str instead of an array of char, though the diagnose message is not correct. You should correct it with const char*
instead if array<char, ?>
.
IgnoreStringArrayIfNeededMatcher
may help you to ignore this warning.
Clearly
std::array
cannot be used here.