Suppress false positive

This commit is contained in:
Daniel Marjamäki 2021-04-21 14:49:06 +02:00
parent bfb98dbf51
commit b5aaf8d577
1 changed files with 1 additions and 0 deletions

View File

@ -3882,6 +3882,7 @@ void TemplateSimplifier::simplifyTemplates(
continue;
}
// cppcheck-suppress redundantCopyLocalConst ; False positive
const std::string strop = op->str();
const std::string strargs = (args && args->isName()) ? args->str() : "";